summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-11-11 07:55:37 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-11 07:55:37 +0300
commitc34e6e0bd5d729948119d4b3e15b075ec0b80d6f (patch)
treead4cce468724bf29a89330421184fc0245336738 /Makefile
parent6a177af775d92cff7ef36a681c304dc750dbe121 (diff)
parentdcb825a9fd865638f82c557fe42ce8eed35f751d (diff)
downloadlinux-c34e6e0bd5d729948119d4b3e15b075ec0b80d6f.tar.xz
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