aboutsummaryrefslogtreecommitdiffstats
path: root/include/target.mk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-09-12 20:49:54 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-09-12 20:49:54 +0000
commit064e7c8f00ebc1721553c0fcb312f809b00e179a (patch)
treea12eb3995a6a04ae7ee0fa2f876de77c22a91ca2 /include/target.mk
parent78539bfa4f6e2af404934fee326d607e6414980e (diff)
downloadupstream-064e7c8f00ebc1721553c0fcb312f809b00e179a.tar.gz
upstream-064e7c8f00ebc1721553c0fcb312f809b00e179a.tar.bz2
upstream-064e7c8f00ebc1721553c0fcb312f809b00e179a.zip
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/target.mk')
-rw-r--r--include/target.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/target.mk b/include/target.mk
index d49714c353..9744a7ca7e 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -178,6 +178,7 @@ define BuildTargets/DumpCurrent
echo 'Target-Name: $(BOARDNAME)$(if $(SUBTARGETS),$(if $(SUBTARGET),))'; \
echo 'Target-Path: $(subst $(TOPDIR)/,,$(PWD))'; \
echo 'Target-Arch: $(ARCH)'; \
+ echo 'Target-Arch-Packages: $(if $(ARCH_PACKAGES),$(ARCH_PACKAGES),$(BOARD))'; \
echo 'Target-Features: $(FEATURES)'; \
echo 'Target-Depends: $(DEPENDS)'; \
echo 'Target-Optimization: $(if $(CFLAGS),$(CFLAGS),$(DEFAULT_CFLAGS))'; \