include/target.mk: default to CPU_TYPE for the package architecture
authorJo-Philipp Wich <jo@mein.io>
Wed, 6 Apr 2016 19:53:19 +0000 (21:53 +0200)
committerJo-Philipp Wich <jo@mein.io>
Wed, 6 Apr 2016 19:53:19 +0000 (21:53 +0200)
commitc47abdea2537894021c7c2c73ab6c1394a2d9d6a
tree5142ff961c2e66b8d3b02d846e4d63e55ed03fb2
parent54fbe8afdd28d0619d8ccede9fcf183d745584a4
include/target.mk: default to CPU_TYPE for the package architecture

Use the more specific CPU_TYPE designation as default package architecture
and only fall back to ARCH if no specific CPU_TYPE is set.

This means that e.g. ar71xx packages will use "74kc" as architecture,
not "mips" which is a precondition for sharing packages between targets.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
include/target.mk