From 532e1fb5d3571591c3602387d5971830b708f83e Mon Sep 17 00:00:00 2001 From: Grant Edwards Date: Sat, 1 May 2010 20:57:28 +0200 Subject: busybox: pass EXTRA_LDFLAGS for external toolchains Closes #1321 [Peter: Rework patch to make it apply to git] Signed-off-by: Grant Edwards Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/busybox/busybox.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package/busybox') 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 -- cgit v1.2.3