summaryrefslogtreecommitdiffstats
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, 3 insertions, 3 deletions
diff --git a/include/package-defaults.mk b/include/package-defaults.mk
index 649f409f5..f17653b7f 100644
--- a/include/package-defaults.mk
+++ b/include/package-defaults.mk
@@ -23,10 +23,10 @@ define Package/Default
else
VERSION:=$(PKG_RELEASE)
endif
- ifneq ($(CONFIG_TARGET_adm5120),y)
- PKGARCH:=$(BOARD)
+ ifneq ($(ARCH_PACKAGES),)
+ PKGARCH:=$(ARCH_PACKAGES)
else
- PKGARCH:=$(BOARD)_$(ARCH)
+ PKGARCH:=$(BOARD)
endif
PRIORITY:=optional
DEFAULT:=