summaryrefslogtreecommitdiff
path: root/include/package-ipkg.mk
diff options
context:
space:
mode:
Diffstat (limited to 'include/package-ipkg.mk')
-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 41f88d8..dbf8721 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:= \