binutils: fix path to cloog and ppl
authorFelix Fietkau <nbd@openwrt.org>
Mon, 2 Nov 2009 00:47:24 +0000 (00:47 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 2 Nov 2009 00:47:24 +0000 (00:47 +0000)
SVN-Revision: 18265

include/toolchain-build.mk
toolchain/binutils/Makefile

index 08054ac9c65fba7b43ef1e39178b9dcd84db4f5a..6defe63edf06e79d2b483682cd9ed0fe478fbaab 100644 (file)
@@ -7,6 +7,7 @@
 
 override CONFIG_AUTOREBUILD=
 
+REAL_STAGING_DIR_HOST:=$(STAGING_DIR_HOST)
 STAGING_DIR_HOST:=$(TOOLCHAIN_DIR)
 BUILD_DIR_HOST:=$(BUILD_DIR_TOOLCHAIN)
 
index d24151db2a70a2430800034f05407802db8a7e3e..91d982c002318fb47f143410f48a2c697703bb69 100644 (file)
@@ -46,6 +46,10 @@ BINUTILS_CONFIGURE:= \
                --disable-multilib \
                --disable-werror \
                --disable-nls \
+               $(if $(CONFIG_GCC_VERSION_4_4), \
+                 --with-ppl=$(REAL_STAGING_DIR_HOST) \
+                 --with-cloog=$(REAL_STAGING_DIR_HOST) \
+               ) \
                $(SOFT_FLOAT_CONFIG_OPTION) \
                $(call qstrip,$(CONFIG_EXTRA_BINUTILS_CONFIG_OPTIONS)) \