diff src/native-binutils.mk @ 3511:799dcef88a41

Install native binutils and gcc directly in host directory tree. Don't install them separate in native-tools directory tree.
author John W. Eaton <jwe@octave.org>
date Fri, 07 Feb 2014 12:51:01 -0500
parents 13be64f9f16d
children 214ad32cab26
line wrap: on
line diff
--- a/src/native-binutils.mk	Fri Feb 07 12:49:43 2014 -0500
+++ b/src/native-binutils.mk	Fri Feb 07 12:51:01 2014 -0500
@@ -30,7 +30,7 @@
     cd '$(1)' && ./configure \
         --target='$(TARGET)' \
         $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
-        --prefix='/usr' \
+        --prefix='$(HOST_PREFIX)' \
         --with-gcc \
         --with-gnu-ld \
         --with-gnu-as \
@@ -38,5 +38,5 @@
         $(ENABLE_SHARED_OR_STATIC) \
         --disable-werror
     $(MAKE) -C '$(1)' -j '$(JOBS)'
-    $(MAKE) -C '$(1)' -j 1 DESTDIR='$(TOP_DIR)/native-tools' install
+    $(MAKE) -C '$(1)' -j 1 install
 endef