aboutsummaryrefslogtreecommitdiffstats
path: root/include/package-defaults.mk
diff options
context:
space:
mode:
Diffstat (limited to 'include/package-defaults.mk')
-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:=