kernel-selftest: do not run 'make clean'

Due to the way the kernel-selftest sources are set up, the toplevel
Makefile does not work and `make clean` will always result in a "The
source tree is not clean, please run 'make ARCH=... mrproper'" error.

Avoid running it by setting CLEANBROKEN = "1", so rebuilding the recipe
without a clean (which often happens when the kernel has changed) does
not fail.

Signed-off-by: Nora Schiffer <nora.schiffer@ew.tq-group.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Nora Schiffer
2026-06-09 09:49:14 +02:00
committed by Khem Raj
parent 8ed8512f7b
commit c6722579be
@@ -129,6 +129,8 @@ EXTRA_OEMAKE:append:toolchain-clang = "\
HOSTLD="clang ${BUILD_LDFLAGS} -unwindlib=libgcc -rtlib=libgcc -stdlib=libstdc++" \
"
CLEANBROKEN = "1"
KERNEL_SELFTEST_SRC ?= "Makefile \
include \
kernel \