aboutsummaryrefslogtreecommitdiffstats
path: root/include/package-ipkg.mk
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 /include/package-ipkg.mk
parent697f5d0bdd131565201a0d2409fdfb8f688d2ebf (diff)
downloadupstream-b5b21d03c43623736a2141139d79d978607eaf7c.tar.gz
upstream-b5b21d03c43623736a2141139d79d978607eaf7c.tar.bz2
upstream-b5b21d03c43623736a2141139d79d978607eaf7c.zip
package-ipkg.mk: use the BOARD variable in opkg cmdline if ARCH_PACKAGES is not defined
SVN-Revision: 23166
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 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:= \