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 08054ac..6defe63 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 d24151d..91d982c 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)) \