From 93ab6d302188ecaa40446d6511dab84e0e25aa46 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 28 Jan 2007 12:03:58 +0000 Subject: - add an experimental BR2_PREFER_IMA. Currently disfunctional for gcc-4.2 due to PR30620 and possibly others --- package/busybox/busybox.mk | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'package/busybox') diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk index 583cd3ebb..a997aa718 100644 --- a/package/busybox/busybox.mk +++ b/package/busybox/busybox.mk @@ -96,6 +96,14 @@ $(BUSYBOX_DIR)/busybox: $(BUSYBOX_DIR)/.configured CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \ ARCH=$(KERNEL_ARCH) \ EXTRA_CFLAGS="$(TARGET_CFLAGS)" -C $(BUSYBOX_DIR) +ifeq ($(BR2_PREFER_IMA)$(BR2_PACKAGE_BUSYBOX_SNAPSHOT),yy) + rm -f $@ + $(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \ + CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \ + ARCH=$(KERNEL_ARCH) STRIP="$(STRIP)" \ + EXTRA_CFLAGS="$(TARGET_CFLAGS)" -C $(BUSYBOX_DIR) \ + -f scripts/Makefile.IMA +endif $(TARGET_DIR)/bin/busybox: $(BUSYBOX_DIR)/busybox ifeq ($(BR2_PACKAGE_BUSYBOX_INSTALL_SYMLINKS),y) -- cgit v1.2.3