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>
This commit is contained in:
		| @@ -281,7 +281,7 @@ define BuildTargets/DumpCurrent | |||||||
| 	 echo 'Target-Name: $(BOARDNAME)$(if $(SUBTARGETS),$(if $(SUBTARGET),))'; \ | 	 echo 'Target-Name: $(BOARDNAME)$(if $(SUBTARGETS),$(if $(SUBTARGET),))'; \ | ||||||
| 	 echo 'Target-Path: $(subst $(TOPDIR)/,,$(PWD))'; \ | 	 echo 'Target-Path: $(subst $(TOPDIR)/,,$(PWD))'; \ | ||||||
| 	 echo 'Target-Arch: $(ARCH)'; \ | 	 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-Features: $(FEATURES)'; \ | ||||||
| 	 echo 'Target-Depends: $(DEPENDS)'; \ | 	 echo 'Target-Depends: $(DEPENDS)'; \ | ||||||
| 	 echo 'Target-Optimization: $(if $(CFLAGS),$(CFLAGS),$(DEFAULT_CFLAGS))'; \ | 	 echo 'Target-Optimization: $(if $(CFLAGS),$(CFLAGS),$(DEFAULT_CFLAGS))'; \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jo-Philipp Wich
					Jo-Philipp Wich