summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-03 11:24:56 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-03 11:24:56 +0000
commitb2e24e292fa6c165decccc359457db3d4d89ce29 (patch)
tree5c2bd86ef0a8d5a9ce14a1cf0378d3e3b31bf2a6 /include
parent70a7b4cd687ca0948ec89e80079569865039d105 (diff)
add special handling for the adm5120 target, which uses subtargets for different endianess -- later we should come up with something smarter
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17101 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 2cfce7a92d..2b5cb8671c 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:=