aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 968ac2af763b..66c94aad3665 100644
--- a/Makefile
+++ b/Makefile
@@ -418,7 +418,7 @@ endif
418# of make so .config is not included in this case either (for *config). 418# of make so .config is not included in this case either (for *config).
419 419
420no-dot-config-targets := clean mrproper distclean \ 420no-dot-config-targets := clean mrproper distclean \
421 cscope TAGS tags help %docs check% \ 421 cscope TAGS tags help %docs check% coccicheck \
422 include/linux/version.h headers_% \ 422 include/linux/version.h headers_% \
423 kernelversion 423 kernelversion
424 424
@@ -532,7 +532,7 @@ endif # $(dot-config)
532# The all: target is the default when no target is given on the 532# The all: target is the default when no target is given on the
533# command line. 533# command line.
534# This allow a user to issue only 'make' to build a kernel including modules 534# This allow a user to issue only 'make' to build a kernel including modules
535# Defaults vmlinux but it is usually overridden in the arch makefile 535# Defaults to vmlinux, but the arch makefile usually adds further targets
536all: vmlinux 536all: vmlinux
537 537
538ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE 538ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
@@ -1219,8 +1219,9 @@ help:
1219 @echo ' includecheck - Check for duplicate included header files' 1219 @echo ' includecheck - Check for duplicate included header files'
1220 @echo ' export_report - List the usages of all exported symbols' 1220 @echo ' export_report - List the usages of all exported symbols'
1221 @echo ' headers_check - Sanity check on exported headers' 1221 @echo ' headers_check - Sanity check on exported headers'
1222 @echo ' headerdep - Detect inclusion cycles in headers'; \ 1222 @echo ' headerdep - Detect inclusion cycles in headers'
1223 echo '' 1223 @$(MAKE) -f $(srctree)/scripts/Makefile.help checker-help
1224 @echo ''
1224 @echo 'Kernel packaging:' 1225 @echo 'Kernel packaging:'
1225 @$(MAKE) $(build)=$(package-dir) help 1226 @$(MAKE) $(build)=$(package-dir) help
1226 @echo '' 1227 @echo ''
@@ -1379,6 +1380,9 @@ versioncheck:
1379 -name '*.[hcS]' -type f -print | sort \ 1380 -name '*.[hcS]' -type f -print | sort \
1380 | xargs $(PERL) -w $(srctree)/scripts/checkversion.pl 1381 | xargs $(PERL) -w $(srctree)/scripts/checkversion.pl
1381 1382
1383coccicheck:
1384 $(Q)$(CONFIG_SHELL) $(srctree)/scripts/$@
1385
1382namespacecheck: 1386namespacecheck:
1383 $(PERL) $(srctree)/scripts/namespace.pl 1387 $(PERL) $(srctree)/scripts/namespace.pl
1384 1388