diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-08 13:10:10 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-10-08 13:10:10 +0000 |
commit | 3b68fb5b83a27b0e0232da606eae2f219762ddb1 (patch) | |
tree | 52eedd849955da0f2909db24e143bbdcdf8015bf /package/busybox/Makefile | |
parent | 4bc0b62f075847b59894d2975335de12e37ceb27 (diff) |
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
Diffstat (limited to 'package/busybox/Makefile')
-rw-r--r-- | package/busybox/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/package/busybox/Makefile b/package/busybox/Makefile index 9e30492e9..c87701ad1 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 |