summaryrefslogtreecommitdiff
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)
downloadmtk-20170518-9711e6ad5501f7119b02d21d6553e02da4ab8a36.zip
mtk-20170518-9711e6ad5501f7119b02d21d6553e02da4ab8a36.tar.gz
mtk-20170518-9711e6ad5501f7119b02d21d6553e02da4ab8a36.tar.bz2
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 e7b66b7..e7d74b1 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 3a65947..9f5faa3 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