summaryrefslogtreecommitdiff
path: root/package/binutils
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-04-17 04:45:26 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-04-25 08:55:56 +0200
commitacde0d8c526214502f43cb8b0e4c3f955a1297f3 (patch)
treebdb71ce39fac8fa173a934099ad44179fc7a18e1 /package/binutils
parentad5af7573291e48835d52223642505a2f8d18af2 (diff)
toolchain: remove useless indirect variables
The BR2_CONFIGURE_DEVEL_SYSROOT, BR2_CONFIGURE_STAGING_SYSROOT and BR2_CONFIGURE_BUILD_TOOLS were used only in a few places, and it is in fact clearer to just use their value in the various places they are used. The ultimate goal is to get rid of the toolchain/Makefile.in file. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/binutils')
-rw-r--r--package/binutils/binutils.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk
index 8632d6755..0a5a948a9 100644
--- a/package/binutils/binutils.mk
+++ b/package/binutils/binutils.mk
@@ -37,7 +37,7 @@ endif
HOST_BINUTILS_CONF_OPT = --disable-multilib --disable-werror \
--target=$(REAL_GNU_TARGET_NAME) \
--disable-shared --enable-static \
- $(BR2_CONFIGURE_STAGING_SYSROOT) \
+ --with-sysroot=$(STAGING_DIR) \
$(BINUTILS_EXTRA_CONFIG_OPTIONS)
HOST_BINUTILS_DEPENDENCIES =