diff options
author | Masahiro Yamada | 2017-11-02 18:40:32 +0100 |
---|---|---|
committer | Masahiro Yamada | 2017-11-13 14:58:18 +0100 |
commit | 859fd5860cd1bbbd0370ba4f20725999681b66c8 (patch) | |
tree | d60a437263aec8bbd091e8f7a413e0dd0b9f3e6a /scripts/Kbuild.include | |
parent | kbuild: fix linker feature test macros when cross compiling with Clang (diff) | |
download | kernel-qcow2-linux-859fd5860cd1bbbd0370ba4f20725999681b66c8.tar.gz kernel-qcow2-linux-859fd5860cd1bbbd0370ba4f20725999681b66c8.tar.xz kernel-qcow2-linux-859fd5860cd1bbbd0370ba4f20725999681b66c8.zip |
sh: select KBUILD_DEFCONFIG depending on ARCH
You can not select KBUILD_DEFCONFIG depending on any CONFIG option
because include/config/auto.conf is not included when building config
targets. So, CONFIG_SUPERH32 is never set during the configuration,
then cayman_defconfig is always chosen.
This commit provides a sensible way to choose shx3/cayman_defconfig.
arch/sh/Kconfig sets either SUPERH32 or SUPERH64 depending on ARCH
environment, like follows:
config SUPERH32
def_bool ARCH = "sh"
...
config SUPERH64
def_bool ARCH = "sh64"
It should make sense to choose the default defconfig by ARCH,
like arch/sparc/Makefile.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/Kbuild.include')
0 files changed, 0 insertions, 0 deletions