ARM: 9140/1: allow compile-testing without machine record
authorArnd Bergmann <arnd@arndb.de>
Mon, 18 Oct 2021 14:30:10 +0000 (15:30 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 25 Oct 2021 12:12:34 +0000 (13:12 +0100)
commit336fe1d6c218502af526819507bb710504e0a993
treea98149f80bdc1ab618a35b5543ddf99f21a6c686
parent8b5bd5adf9e6d073e538e2e9de810f2f25379c3b
ARM: 9140/1: allow compile-testing without machine record

A lot of randconfig builds end up not selecting any machine type at
all. This is generally fine for the purpose of compile testing, but
of course it means that the kernel is not usable on actual hardware,
and it causes a warning about this fact.

As most of the build bots now force-enable CONFIG_COMPILE_TEST for
randconfig builds, use that as a guard to control whether we warn
on this type of broken configuration.

We could do the same for the missing-cpu-type warning, but those
configurations fail to build much earlier.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/vmlinux-xip.lds.S
arch/arm/kernel/vmlinux.lds.S