summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2009-08-03 11:24:56 +0000
committerImre Kaloz <kaloz@openwrt.org>2009-08-03 11:24:56 +0000
commit671280830d8820e72af645558e50f722c30b1870 (patch)
treee59c70848d986bac05a8b5b0208e87adbf2989c2 /include
parentbfd20cb57da0ec8d758324679dcddda9650a8d47 (diff)
downloadmtk-20170518-671280830d8820e72af645558e50f722c30b1870.zip
mtk-20170518-671280830d8820e72af645558e50f722c30b1870.tar.gz
mtk-20170518-671280830d8820e72af645558e50f722c30b1870.tar.bz2
add special handling for the adm5120 target, which uses subtargets for different endianess -- later we should come up with something smarter
SVN-Revision: 17101
Diffstat (limited to 'include')
-rw-r--r--include/package-defaults.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/package-defaults.mk b/include/package-defaults.mk
index 2cfce7a..2b5cb86 100644
--- a/include/package-defaults.mk
+++ b/include/package-defaults.mk
@@ -23,7 +23,11 @@ define Package/Default
else
VERSION:=$(PKG_RELEASE)
endif
- PKGARCH:=$(BOARD)
+ ifneq ($(CONFIG_TARGET_adm5120),y)
+ PKGARCH:=$(BOARD)
+ else
+ PKGARCH:=$(BOARD)_$(ARCH)
+ endif
PRIORITY:=optional
DEFAULT:=
MENU:=