]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: move --fix-cortex-a53-843419 linker test to Kconfig
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 24 Mar 2021 07:11:28 +0000 (16:11 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 1 Apr 2021 16:28:04 +0000 (01:28 +0900)
commit04c535d5b0deb19cdb4c3284ff5e74957c0cd531
tree8fc6d282abfe2f027724012a29336b913b2b5879
parent4e7a41ae05e05977e082b1ab64952af6db36d171
arm64: move --fix-cortex-a53-843419 linker test to Kconfig

Since commit a14efe0d73eb ("kbuild: include Makefile.compiler only when
compiler is needed"), "make ARCH=arm64 (modules_)install" shows a false
positive warning.

Move the ld-option test to Kconfig, so that the result can be stored in
the .config file, avoiding multiple-time evaluations in the build and
installation time.

Reported-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
arch/arm64/Kconfig
arch/arm64/Makefile