From: Felix Fietkau Date: Mon, 2 Nov 2009 00:47:24 +0000 (+0000) Subject: binutils: fix path to cloog and ppl X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=b0c4dfea7a3db1a9be4d5cd04a2c116ad5a2cd52 binutils: fix path to cloog and ppl SVN-Revision: 18265 --- diff --git a/include/toolchain-build.mk b/include/toolchain-build.mk index 08054ac9c6..6defe63edf 100644 --- a/include/toolchain-build.mk +++ b/include/toolchain-build.mk @@ -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) diff --git a/toolchain/binutils/Makefile b/toolchain/binutils/Makefile index d24151db2a..91d982c002 100644 --- a/toolchain/binutils/Makefile +++ b/toolchain/binutils/Makefile @@ -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)) \