From: nbd Date: Mon, 2 Nov 2009 00:47:24 +0000 (+0000) Subject: binutils: fix path to cloog and ppl X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/07caea4e3759dde687cd3869e7d8e2c72731b7a6 binutils: fix path to cloog and ppl git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18265 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/toolchain-build.mk b/include/toolchain-build.mk index 08054ac9c..6defe63ed 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 d24151db2..91d982c00 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)) \