aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/package-ipkg.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index 41f88d84d5..dbf8721977 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -18,7 +18,7 @@ OPKG:= \
--force-postinstall \
--add-dest root:/ \
--add-arch all:100 \
- --add-arch $(ARCH_PACKAGES):200
+ --add-arch $(if $(ARCH_PACKAGES),$(ARCH_PACKAGES),$(BOARD)):200
# invoke ipkg-build with some default options
IPKG_BUILD:= \