Implement an ARCH_PACKAGES variable which defaults to BOARD but can be overridden on a per-subtarget basis. This is intended for targets such as adm5120 and malta which support both big and little endianess and will replace the target specific exceptions in package-defaults and Image Builder.

SVN-Revision: 23029
This commit is contained in:
Jo-Philipp Wich
2010-09-12 20:49:54 +00:00
parent 78539bfa4f
commit 064e7c8f00
4 changed files with 15 additions and 3 deletions

View File

@@ -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:=