aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2009-07-31 12:15:51 +0000
committerImre Kaloz <kaloz@openwrt.org>2009-07-31 12:15:51 +0000
commit85c82eb8a0a495f175fd7fccc40d87f1eb705004 (patch)
treee14678310d91d9d6956cbf42d2699e5e7b4c4e5b
parent06916d7186805a6d6c63dbf3d093dcafb72badd8 (diff)
downloadupstream-85c82eb8a0a495f175fd7fccc40d87f1eb705004.tar.gz
upstream-85c82eb8a0a495f175fd7fccc40d87f1eb705004.tar.bz2
upstream-85c82eb8a0a495f175fd7fccc40d87f1eb705004.zip
use board names instead of arch in packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17063 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/package-defaults.mk2
-rw-r--r--package/opkg/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/package-defaults.mk b/include/package-defaults.mk
index e7b66b7f8f..e7d74b1ae1 100644
--- a/include/package-defaults.mk
+++ b/include/package-defaults.mk
@@ -23,7 +23,7 @@ define Package/Default
else
VERSION:=$(PKG_RELEASE)
endif
- PKGARCH:=$(ARCH)
+ PKGARCH:=$(BOARD)
PRIORITY:=optional
DEFAULT:=
MENU:=
diff --git a/package/opkg/Makefile b/package/opkg/Makefile
index 3a65947c48..9f5faa3474 100644
--- a/package/opkg/Makefile
+++ b/package/opkg/Makefile
@@ -59,7 +59,7 @@ define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
- HOST_CPU="$(ARCH)" \
+ HOST_CPU="$(BOARD)" \
all install
endef