- pass the target (kernel-) arch in.
This commit is contained in:
parent
dc47b050c6
commit
7ba97716ce
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user