diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-05 17:20:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-05 17:20:14 -0400 |
commit | f43100ae39bfeb757b75835ef61f0c2c46c99348 (patch) | |
tree | 620379bb9a2287975ee222c449cd69d31738096e /Makefile | |
parent | 27b4a1a9eac8b0f8958da67e4abe025b96e1a293 (diff) | |
parent | 5e8e1cc0a1c36c8ff156ac1f04a16422bd4ed3ac (diff) |
Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6
* 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6:
scripts/dtc: Fix a resource leak
Documentation: fix ubuntu distro name
MAINTAINERS: Update kbuild git URLs
Add support for the C variable in the coccicheck script
Add scripts/coccinelle/deref_null.cocci
Add scripts/coccinelle/err_cast.cocci
Add scripts/coccinelle/resource_size.cocci
Add scripts/coccinelle/alloc/kzalloc-simple.cocci
Add scripts/coccinelle/alloc/drop_kmalloc_cast.cocci
Add Documentation/coccinelle.txt
Add a target to use the Coccinelle checker
scripts: decodecode: remove bashisms
Makefile: clarify a comment
checkkconfigsymbols.sh: Kconfig symbols sometimes have lowercase letters
scripts: add nconf into gitignore file
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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 | ||
420 | no-dot-config-targets := clean mrproper distclean \ | 420 | no-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 |
536 | all: vmlinux | 536 | all: vmlinux |
537 | 537 | ||
538 | ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE | 538 | ifdef 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 | ||
1383 | coccicheck: | ||
1384 | $(Q)$(CONFIG_SHELL) $(srctree)/scripts/$@ | ||
1385 | |||
1382 | namespacecheck: | 1386 | namespacecheck: |
1383 | $(PERL) $(srctree)/scripts/namespace.pl | 1387 | $(PERL) $(srctree)/scripts/namespace.pl |
1384 | 1388 | ||