提交 f5072881 编写于 作者: H Heiko Carstens 提交者: Zheng Zengkai

init/Kconfig: make COMPILE_TEST depend on !S390

commit 334ef6ed upstream.

While allmodconfig and allyesconfig build for s390 there are also
various bots running compile tests with randconfig, where PCI is
disabled. This reveals that a lot of drivers should actually depend on
HAS_IOMEM.
Adding this to each device driver would be a never ending story,
therefore just disable COMPILE_TEST for s390.

The reasoning is more or less the same as described in
commit bc083a64 ("init/Kconfig: make COMPILE_TEST depend on !UML").
Reported-by: Nkernel test robot <lkp@intel.com>
Suggested-by: NArnd Bergmann <arnd@kernel.org>
Signed-off-by: NHeiko Carstens <hca@linux.ibm.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 e1612296
......@@ -66,7 +66,7 @@ config INIT_ENV_ARG_LIMIT
config COMPILE_TEST
bool "Compile also drivers which will not load"
depends on !UML
depends on !UML && !S390
default n
help
Some drivers can be compiled on a different platform than they are
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册