]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/Makefile: include $(INSTALL_DEP_TARGETS) in clean target to clean net/lib...
authorNai-Chen Cheng <bleach1827@gmail.com>
Wed, 10 Sep 2025 11:30:32 +0000 (19:30 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 16 Sep 2025 23:05:02 +0000 (16:05 -0700)
commitd3f7457da7b9527a06dbcbfaf666aa51ac2eeb53
treeaf87b7c11995115ed2a0ecfb04bcb1132d39616a
parent949ddfb774fe527cebfa3f769804344940f7ed2e
selftests/Makefile: include $(INSTALL_DEP_TARGETS) in clean target to clean net/lib dependency

The selftests 'make clean' does not clean the net/lib because it only
processes $(TARGETS) and ignores $(INSTALL_DEP_TARGETS). This leaves
compiled objects in net/lib after cleaning, requiring manual cleanup.

Include $(INSTALL_DEP_TARGETS) in clean target to ensure net/lib
dependency is properly cleaned.

Signed-off-by: Nai-Chen Cheng <bleach1827@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Simon Horman <horms@kernel.org> # build-tested
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://patch.msgid.link/20250910-selftests-makefile-clean-v1-1-29e7f496cd87@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/Makefile