From 3f5404494c83b857ba79f36a7f62e9c79e2e1e2c Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Sun, 8 Oct 2006 13:10:10 +0000 Subject: fix unknown arch in ipkg: use our ARCH instead of busybox's TARGET_ARCH (closes: #689) git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4959 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/busybox/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'package/busybox/Makefile') diff --git a/package/busybox/Makefile b/package/busybox/Makefile index 9e30492e90..c87701ad1e 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -46,11 +46,21 @@ define Build/Configure oldconfig endef +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + CC="$(TARGET_CC)" \ + CROSS="$(TARGET_CROSS)" \ + EXTRA_CFLAGS="$(TARGET_CFLAGS)" \ + IPKG_ARCH="$(ARCH)" \ + all +endef + define Package/busybox/install $(MAKE) -C $(PKG_BUILD_DIR) \ CC="$(TARGET_CC)" \ CROSS="$(TARGET_CROSS)" \ EXTRA_CFLAGS="$(TARGET_CFLAGS)" \ + IPKG_ARCH="$(ARCH)" \ PREFIX="$(1)" \ install -rm -rf $(1)/lib64 -- cgit v1.2.3