Some kselftests generate temporary binaries that are not tracked by TEST_GEN_PROGS. Add EXTRA_CLEAN entry to remove tmpshmcstat during `make kselftest-clean`.
Signed-off-by: Madhur Kumar madhurkumar004@gmail.com --- tools/testing/selftests/cachestat/Makefile | 1 + 1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/cachestat/Makefile b/tools/testing/selftests/cachestat/Makefile index 778b54ebb036..c48065d791a9 100644 --- a/tools/testing/selftests/cachestat/Makefile +++ b/tools/testing/selftests/cachestat/Makefile @@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 TEST_GEN_PROGS := test_cachestat +EXTRA_CLEAN := tmpshmcstat
CFLAGS += $(KHDR_INCLUDES) CFLAGS += -Wall