summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-10-01 07:09:34 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-10-01 07:09:34 +0000
commitb5b21d03c43623736a2141139d79d978607eaf7c (patch)
treebe47eaebd65c76b9d313745a040aa03c666be7c4
parent697f5d0bdd131565201a0d2409fdfb8f688d2ebf (diff)
downloadmtk-20170518-b5b21d03c43623736a2141139d79d978607eaf7c.zip
mtk-20170518-b5b21d03c43623736a2141139d79d978607eaf7c.tar.gz
mtk-20170518-b5b21d03c43623736a2141139d79d978607eaf7c.tar.bz2
package-ipkg.mk: use the BOARD variable in opkg cmdline if ARCH_PACKAGES is not defined
SVN-Revision: 23166
-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:= \