summaryrefslogtreecommitdiffstats
path: root/package/busybox
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-07 16:31:21 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-07 16:31:21 +0000
commit7ba97716ce6d0b2c2db60b7deb77330695578bb5 (patch)
treeace2c064da478842f9e1833023081fb1fc149730 /package/busybox
parentdc47b050c6317332e78125ba1cc260c302906552 (diff)
downloadbuildroot-novena-7ba97716ce6d0b2c2db60b7deb77330695578bb5.tar.gz
buildroot-novena-7ba97716ce6d0b2c2db60b7deb77330695578bb5.zip
- pass the target (kernel-) arch in.
Diffstat (limited to 'package/busybox')
-rw-r--r--package/busybox/busybox.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
index f7f108db6..e57c7ea78 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