KBUILD: Add a couple entries to no-dot-config-targets.
PATCH 1/1 KBUILD: Add a couple entries to no-dot-config-targets.
Add the targets "includecheck" and "versioncheck" to no-dot-config-targets, and make a number of targets PHONY.
Signed-off-by Robert P. J. Day <[email protected]>
---
feel free to tweak if i missed anything.
Makefile +4 -1
@@ -390,7 +390,8 @@ endif no-dot-config-targets := clean mrproper distclean \ cscope TAGS tags help %docs check% \ include/linux/version.h headers_% \ - kernelrelease kernelversion + kernelrelease kernelversion includecheck \ + versioncheck config-targets := 0 mixed-targets := 0
@@ -1441,6 +1442,8 @@ tags: FORCE # Scripts to check various things for consistency # --------------------------------------------------------------------------- +PHONY += includecheck versioncheck namespacecheck export_report + includecheck: find * $(RCS_FIND_IGNORE) \ -name '*.[hcS]' -type f -print | sort \
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================