summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-31 12:15:51 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-31 12:15:51 +0000
commit967b579058e9ecb12106a1c4f0fa990b4d37f9e0 (patch)
treee14678310d91d9d6956cbf42d2699e5e7b4c4e5b
parentc74a041bc14a39b683c42fbc88e324ebd4bb6ffd (diff)
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