summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-11-11 05:55:37 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-11 05:55:37 +0100
commitc34e6e0bd5d729948119d4b3e15b075ec0b80d6f (patch)
treead4cce468724bf29a89330421184fc0245336738 /Makefile
parentMerge tag 'linux-kselftest-4.4-rc1' of git://git.kernel.org/pub/scm/linux/ker... (diff)
parentkselftest: add kselftest-clean rule (diff)
downloadlinux-c34e6e0bd5d729948119d4b3e15b075ec0b80d6f.tar.xz
linux-c34e6e0bd5d729948119d4b3e15b075ec0b80d6f.zip
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Pull kbuild update from Michal Marek: "The kbuild branch for v4.4-rc1 only has one commit: A new make kselftest-clean target cleans tools/testing/selftests" * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild: kselftest: add kselftest-clean rule
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 69be581e7c7a..26de6c3298b1 100644
--- a/Makefile
+++ b/Makefile
@@ -1077,6 +1077,9 @@ PHONY += kselftest
kselftest:
$(Q)$(MAKE) -C tools/testing/selftests run_tests
+kselftest-clean:
+ $(Q)$(MAKE) -C tools/testing/selftests clean
+
# ---------------------------------------------------------------------------
# Modules
@@ -1284,6 +1287,7 @@ help:
@echo ' kselftest - Build and run kernel selftest (run as root)'
@echo ' Build, install, and boot kernel before'
@echo ' running kselftest on it'
+ @echo ' kselftest-clean - Remove all generated kselftest files'
@echo ''
@echo 'Kernel packaging:'
@$(MAKE) $(build)=$(package-dir) help