]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kselftest/arm64: Set default OUTPUT path when undefined
authortanze <tanze@kylinos.cn>
Thu, 15 May 2025 05:18:39 +0000 (13:18 +0800)
committerWill Deacon <will@kernel.org>
Fri, 16 May 2025 14:15:13 +0000 (15:15 +0100)
commitb225219a4002aae9b5d71cf0f912ac02d38f0212
tree1c476e616e4d410d7ab32c7a26573c8a942b1ea1
parent864f3ddcd7153fdb3f2d3822e563985135d8eafa
kselftest/arm64: Set default OUTPUT path when undefined

When running 'make' in tools/testing/selftests/arm64/ without explicitly
setting the OUTPUT variable, the build system will creates test
directories (e.g., /bti) in the root filesystem due to OUTPUT defaulting
to an empty string. This causes unintended pollution of the root directory.

This patch adds proper handling for the OUTPUT variable: Sets OUTPUT
to the current directory (.) if not specified

Signed-off-by: tanze <tanze@kylinos.cn>
Link: https://lore.kernel.org/r/20250515051839.3409658-1-tanze@kylinos.cn
Signed-off-by: Will Deacon <will@kernel.org>
tools/testing/selftests/arm64/Makefile