kselftest/arm64: Explicitly build no BTI tests with BTI disabled
authorMark Brown <broonie@kernel.org>
Mon, 16 May 2022 18:22:13 +0000 (19:22 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 16 May 2022 18:43:40 +0000 (19:43 +0100)
commit9f93c2e0cda49a558c981a57fc4a7f8d143ced93
treec5f185f20cf51ca1faedb1894de308979e8f8d77
parentd7a49291d786b4400996afe3afcc3ef5eeb6f0ef
kselftest/arm64: Explicitly build no BTI tests with BTI disabled

In case a distribution enables branch protection by default do as we do for
the main kernel and explicitly disable branch protection when building the
test case for having BTI disabled to ensure it doesn't get turned on by the
toolchain defaults.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220516182213.727589-1-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/bti/Makefile