diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-09-12 20:49:54 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-09-12 20:49:54 +0000 |
commit | 064e7c8f00ebc1721553c0fcb312f809b00e179a (patch) | |
tree | a12eb3995a6a04ae7ee0fa2f876de77c22a91ca2 /include/package-defaults.mk | |
parent | 78539bfa4f6e2af404934fee326d607e6414980e (diff) | |
download | mtk-20170518-064e7c8f00ebc1721553c0fcb312f809b00e179a.zip mtk-20170518-064e7c8f00ebc1721553c0fcb312f809b00e179a.tar.gz mtk-20170518-064e7c8f00ebc1721553c0fcb312f809b00e179a.tar.bz2 |
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
Diffstat (limited to 'include/package-defaults.mk')
-rw-r--r-- | include/package-defaults.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/package-defaults.mk b/include/package-defaults.mk index 649f409..f17653b 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:= |