From: Gabor Juhos Date: Fri, 1 Oct 2010 07:09:34 +0000 (+0000) Subject: package-ipkg.mk: use the BOARD variable in opkg cmdline if ARCH_PACKAGES is not defined X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b5b21d03c43623736a2141139d79d978607eaf7c;p=openwrt%2Fstaging%2Frobimarko.git package-ipkg.mk: use the BOARD variable in opkg cmdline if ARCH_PACKAGES is not defined SVN-Revision: 23166 --- 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:= \