summaryrefslogtreecommitdiffstats
path: root/package/busybox
diff options
context:
space:
mode:
authorGrant Edwards <grant.b.edwards@gmail.com>2010-05-01 20:57:28 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-05-01 20:57:28 +0200
commit532e1fb5d3571591c3602387d5971830b708f83e (patch)
treea96cd93787a3ce7252b01c9677c4fa78129987ea /package/busybox
parent558861639cea0b4991ab07313f972187ed644867 (diff)
downloadbuildroot-novena-532e1fb5d3571591c3602387d5971830b708f83e.tar.gz
buildroot-novena-532e1fb5d3571591c3602387d5971830b708f83e.zip
busybox: pass EXTRA_LDFLAGS for external toolchains
Closes #1321 [Peter: Rework patch to make it apply to git] Signed-off-by: Grant Edwards <grant.b.edwards@gmail.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox')
-rw-r--r--package/busybox/busybox.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
index 05a6d941c..668861d5b 100644
--- a/package/busybox/busybox.mk
+++ b/package/busybox/busybox.mk
@@ -107,12 +107,14 @@ endif
$(BUSYBOX_DIR)/busybox: $(BUSYBOX_DIR)/.config
$(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \
CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \
+ EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \
ARCH=$(KERNEL_ARCH) -C $(BUSYBOX_DIR)
$(TARGET_DIR)/bin/busybox: $(BUSYBOX_DIR)/busybox
ifeq ($(BR2_PACKAGE_BUSYBOX_FULLINSTALL),y)
$(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \
CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \
+ EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \
ARCH=$(KERNEL_ARCH) -C $(BUSYBOX_DIR) install
else
install -D -m 0755 $(BUSYBOX_DIR)/busybox $(TARGET_DIR)/bin/busybox