summaryrefslogtreecommitdiff
path: root/package/busybox/Makefile
diff options
context:
space:
mode:
authorWaldemar <wbx@mirbsd.foo.bar>2009-12-19 14:25:32 +0059
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-19 14:34:06 +0100
commit0e40c7b459f3803bb44bca20304389c6999a2770 (patch)
tree7160ce1b531fc7cfaeeab7a04d5173f6d3fe9f8f /package/busybox/Makefile
parent5279869f4930b421c7f27223ff2425d974d453f0 (diff)
add more mirbsd compatibility patches
Diffstat (limited to 'package/busybox/Makefile')
-rw-r--r--package/busybox/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile
index 6a0569428..78b741ca3 100644
--- a/package/busybox/Makefile
+++ b/package/busybox/Makefile
@@ -24,30 +24,30 @@ ifeq ($(ADK_NATIVE),y)
yes '' | \
$(MAKE) V=1 \
IPKG_ARCH="$(ARCH)" \
- ARCH="$(ARCH)" -C $(WRKBUILD) oldconfig
+ ARCH="$(ARCH)" HOSTCC="$(HOSTCC)" -C $(WRKBUILD) oldconfig
else
yes '' | \
$(MAKE) V=1 CROSS_COMPILE="$(TARGET_CROSS)" \
EXTRA_CFLAGS="$(TARGET_CFLAGS)" IPKG_ARCH="$(ARCH)" \
- ARCH="$(ARCH)" -C $(WRKBUILD) oldconfig
+ ARCH="$(ARCH)" HOSTCC="$(HOSTCC)" -C $(WRKBUILD) oldconfig
endif
do-build:
ifeq ($(ADK_NATIVE),y)
$(MAKE) V=1 \
- IPKG_ARCH="$(ARCH)" ARCH="$(ARCH)" -C $(WRKBUILD) busybox
+ IPKG_ARCH="$(ARCH)" ARCH="$(ARCH)" HOSTCC="$(HOSTCC)" -C $(WRKBUILD) busybox
else
$(MAKE) V=1 CROSS_COMPILE="$(TARGET_CROSS)" \
- IPKG_ARCH="$(ARCH)" ARCH="$(ARCH)" -C $(WRKBUILD) busybox
+ IPKG_ARCH="$(ARCH)" ARCH="$(ARCH)" HOSTCC="$(HOSTCC)" -C $(WRKBUILD) busybox
endif
do-install: ${TOPDIR}/.config
ifeq ($(ADK_NATIVE),y)
$(MAKE) V=1 \
- IPKG_ARCH="$(ARCH)" ARCH="$(ARCH)" -C $(WRKBUILD) install
+ IPKG_ARCH="$(ARCH)" ARCH="$(ARCH)" HOSTCC="$(HOSTCC)" -C $(WRKBUILD) install
else
$(MAKE) V=1 CROSS_COMPILE="$(TARGET_CROSS)" \
- IPKG_ARCH="$(ARCH)" ARCH="$(ARCH)" -C $(WRKBUILD) install
+ IPKG_ARCH="$(ARCH)" ARCH="$(ARCH)" HOSTCC="$(HOSTCC)" -C $(WRKBUILD) install
endif
ifeq ($(DEBUG),1)
${INSTALL_BIN} $(WRKBUILD)/busybox_unstripped \