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
commit9711e6ad5501f7119b02d21d6553e02da4ab8a36 (patch)
tree4c27bbc020a1e910d5cd44678f700cf7faefd893
parentab5bc1497375c723028721d63598c29060fdf822 (diff)
downloadupstream-9711e6ad5501f7119b02d21d6553e02da4ab8a36.tar.gz
upstream-9711e6ad5501f7119b02d21d6553e02da4ab8a36.tar.bz2
upstream-9711e6ad5501f7119b02d21d6553e02da4ab8a36.zip
use board names instead of arch in packages
SVN-Revision: 17063
-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