|
@@ -1027,6 +1027,13 @@ headers_check: headers_install
|
|
$(Q)$(MAKE) $(hdr-inst)=include/uapi HDRCHECK=1
|
|
$(Q)$(MAKE) $(hdr-inst)=include/uapi HDRCHECK=1
|
|
$(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi/asm $(hdr-dst) HDRCHECK=1
|
|
$(Q)$(MAKE) $(hdr-inst)=arch/$(hdr-arch)/include/uapi/asm $(hdr-dst) HDRCHECK=1
|
|
|
|
|
|
|
|
+# ---------------------------------------------------------------------------
|
|
|
|
+# Kernel selftest
|
|
|
|
+
|
|
|
|
+PHONY += kselftest
|
|
|
|
+kselftest:
|
|
|
|
+ $(Q)$(MAKE) -C tools/testing/selftests run_tests
|
|
|
|
+
|
|
# ---------------------------------------------------------------------------
|
|
# ---------------------------------------------------------------------------
|
|
# Modules
|
|
# Modules
|
|
|
|
|
|
@@ -1230,6 +1237,11 @@ help:
|
|
@echo ' headerdep - Detect inclusion cycles in headers'
|
|
@echo ' headerdep - Detect inclusion cycles in headers'
|
|
@$(MAKE) -f $(srctree)/scripts/Makefile.help checker-help
|
|
@$(MAKE) -f $(srctree)/scripts/Makefile.help checker-help
|
|
@echo ''
|
|
@echo ''
|
|
|
|
+ @echo 'Kernel selftest'
|
|
|
|
+ @echo ' kselftest - Build and run kernel selftest (run as root)'
|
|
|
|
+ @echo ' Build, install, and boot kernel before'
|
|
|
|
+ @echo ' running kselftest on it'
|
|
|
|
+ @echo ''
|
|
@echo 'Kernel packaging:'
|
|
@echo 'Kernel packaging:'
|
|
@$(MAKE) $(build)=$(package-dir) help
|
|
@$(MAKE) $(build)=$(package-dir) help
|
|
@echo ''
|
|
@echo ''
|