summaryrefslogtreecommitdiff
path: root/include/target.mk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-04-17 19:50:53 +0200
committerJo-Philipp Wich <jo@mein.io>2016-04-17 19:50:53 +0200
commit02def718880cc3db377d35c50c50b385056f65e5 (patch)
tree56752cbdebf2eb9eb300be2c3cb5b176f270eca6 /include/target.mk
parent3339f41d2692e2e03ece172bedbaea767270500c (diff)
downloadmtk-20170518-02def718880cc3db377d35c50c50b385056f65e5.zip
mtk-20170518-02def718880cc3db377d35c50c50b385056f65e5.tar.gz
mtk-20170518-02def718880cc3db377d35c50c50b385056f65e5.tar.bz2
include/target.mk: disambiguate package architecture
Add $ARCH and $CPU_SUBTYPE to the package architecture strings to differentiate low and big endian targets as well as extended instructions sets like NEON or DSP2. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'include/target.mk')
-rw-r--r--include/target.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/target.mk b/include/target.mk
index a9d4c5d..58a2250 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -281,7 +281,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),$(if $(CPU_TYPE),$(CPU_TYPE),$(ARCH)))'; \
+ echo 'Target-Arch-Packages: $(if $(ARCH_PACKAGES),$(ARCH_PACKAGES),$(ARCH)$(if $(CPU_TYPE),_$(CPU_TYPE))$(if $(CPU_SUBTYPE),_$(CPU_SUBTYPE)))'; \
echo 'Target-Features: $(FEATURES)'; \
echo 'Target-Depends: $(DEPENDS)'; \
echo 'Target-Optimization: $(if $(CFLAGS),$(CFLAGS),$(DEFAULT_CFLAGS))'; \