aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
commitb587a7b92a39fe15928367fd52c3d42e40ce2ebb (patch)
tree36343284cf5ffdc9ddc4893d84b313ef3e67bb95 /include
parentccc0817067fb6ce5af071cb4f35b0d6b16a82585 (diff)
downloadupstream-b587a7b92a39fe15928367fd52c3d42e40ce2ebb.tar.gz
upstream-b587a7b92a39fe15928367fd52c3d42e40ce2ebb.tar.bz2
upstream-b587a7b92a39fe15928367fd52c3d42e40ce2ebb.zip
package-ipkg.mk: use the BOARD variable in opkg cmdline if ARCH_PACKAGES is not defined
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23166 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-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:= \