From 7ba97716ce6d0b2c2db60b7deb77330695578bb5 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 7 Dec 2006 16:31:21 +0000 Subject: [PATCH] - pass the target (kernel-) arch in. --- package/busybox/busybox.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk index f7f108db67..e57c7ea788 100644 --- a/package/busybox/busybox.mk +++ b/package/busybox/busybox.mk @@ -18,7 +18,7 @@ endif BUSYBOX_UNZIP=$(BZCAT) BUSYBOX_CONFIG_FILE=$(subst ",, $(strip $(BR2_PACKAGE_BUSYBOX_CONFIG))) -#" +#") $(DL_DIR)/$(BUSYBOX_SOURCE): $(WGET) -P $(DL_DIR) $(BUSYBOX_SITE)/$(BUSYBOX_SOURCE) @@ -59,12 +59,14 @@ endif $(BUSYBOX_DIR)/busybox: $(BUSYBOX_DIR)/.configured $(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \ CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \ + ARCH=$(KERNEL_ARCH) \ EXTRA_CFLAGS="$(TARGET_CFLAGS)" -C $(BUSYBOX_DIR) $(TARGET_DIR)/bin/busybox: $(BUSYBOX_DIR)/busybox ifeq ($(BR2_PACKAGE_BUSYBOX_INSTALL_SYMLINKS),y) $(MAKE) CC=$(TARGET_CC) CROSS_COMPILE="$(TARGET_CROSS)" \ CROSS="$(TARGET_CROSS)" PREFIX="$(TARGET_DIR)" \ + ARCH=$(KERNEL_ARCH) \ EXTRA_CFLAGS="$(TARGET_CFLAGS)" -C $(BUSYBOX_DIR) install else install -D -m 0755 $(BUSYBOX_DIR)/busybox $(TARGET_DIR)/bin/busybox -- 2.30.2