summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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