summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-01 07:09:34 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-01 07:09:34 +0000
commit92c5f250d8ed6f1dcd02f20c09ff89306ee4ddfd (patch)
tree36343284cf5ffdc9ddc4893d84b313ef3e67bb95 /include
parent97627d06c5e817e60371a69661d7cdc4ddda8bc5 (diff)
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 41f88d84d..dbf872197 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:= \