linux_dsm_epyc7002/arch/sh
Masahiro Yamada 859fd5860c 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>
2017-11-13 22:58:18 +09:00
..
boards mtd: nand: Rename nand.h into rawnand.h 2017-08-13 10:11:49 +02:00
boot treewide: Remove remaining executable attributes from source files 2017-02-25 12:12:50 -08:00
cchips genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
configs sh: defconfig: cleanup from old Kconfig options 2017-09-08 18:26:51 -07:00
drivers dma-mapping updates for 4.14: 2017-09-12 13:30:06 -07:00
include arch: remove unused *_segments() macros/functions 2017-09-22 12:59:52 -10:00
kernel Kbuild thin archives updates for v4.13 2017-07-07 15:11:12 -07:00
lib sh: New gcc support 2016-03-17 19:45:44 +00:00
lib64 sh64: Kill off old exception debugging helpers. 2012-06-14 14:12:18 +09:00
math-emu sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
mm sh: move inline before return type 2017-07-12 16:26:04 -07:00
oprofile Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
tools sh: Add RSK2+SH7269 board 2012-05-10 17:20:01 +09:00
Kconfig drivers: dma-mapping: allow dma_common_mmap() for NOMMU 2017-06-30 10:03:07 -07:00
Kconfig.cpu arch/sh: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:43:13 -08:00
Kconfig.debug sh: dwarf unwinder depends on SHcompact. 2012-03-30 19:31:22 +09:00
Makefile sh: select KBUILD_DEFCONFIG depending on ARCH 2017-11-13 22:58:18 +09:00