diff options
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1028,6 +1028,13 @@ headers_check: headers_install | |||
1028 | $(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi/asm $(hdr-dst) HDRCHECK=1 | 1028 | $(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi/asm $(hdr-dst) HDRCHECK=1 |
1029 | 1029 | ||
1030 | # --------------------------------------------------------------------------- | 1030 | # --------------------------------------------------------------------------- |
1031 | # Kernel selftest | ||
1032 | |||
1033 | PHONY += kselftest | ||
1034 | kselftest: | ||
1035 | $(Q)$(MAKE) -C tools/testing/selftests run_tests | ||
1036 | |||
1037 | # --------------------------------------------------------------------------- | ||
1031 | # Modules | 1038 | # Modules |
1032 | 1039 | ||
1033 | ifdef CONFIG_MODULES | 1040 | ifdef CONFIG_MODULES |
@@ -1230,6 +1237,11 @@ help: | |||
1230 | @echo ' headerdep - Detect inclusion cycles in headers' | 1237 | @echo ' headerdep - Detect inclusion cycles in headers' |
1231 | @$(MAKE) -f $(srctree)/scripts/Makefile.help checker-help | 1238 | @$(MAKE) -f $(srctree)/scripts/Makefile.help checker-help |
1232 | @echo '' | 1239 | @echo '' |
1240 | @echo 'Kernel selftest' | ||
1241 | @echo ' kselftest - Build and run kernel selftest (run as root)' | ||
1242 | @echo ' Build, install, and boot kernel before' | ||
1243 | @echo ' running kselftest on it' | ||
1244 | @echo '' | ||
1233 | @echo 'Kernel packaging:' | 1245 | @echo 'Kernel packaging:' |
1234 | @$(MAKE) $(build)=$(package-dir) help | 1246 | @$(MAKE) $(build)=$(package-dir) help |
1235 | @echo '' | 1247 | @echo '' |