aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-05-25 15:04:15 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-25 15:04:15 -0400
commit51b550a41c2ac0373b42f4e211f2df113b735b0a (patch)
treee7de61e10d2a040fd92405a5989631e9fc179eab /Makefile
parent62af8163f9caa5b21996338ccd2564dfd727670e (diff)
parentca995cbf77f3df599b7e751c2d08d90787c65c45 (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: export_report: use warn() to issue WARNING, so they go to stderr export_report: sort SECTION 2 output export_report: do collectcfiles work in perl itself kbuild: make versioncheck work in KBUILD_OUTDIR kbuild: make includecheck work in KBUILD_OUTDIR kbuild: make headerdep work in KBUILD_OUTDIR kbuild: add targets to PHONY kbuild: don't warn about include/linux/version.h not including itself eradicate bashisms in scripts/patch-kernel
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6b73d1eed1ea..b1196abcd8e8 100644
--- a/Makefile
+++ b/Makefile
@@ -1009,7 +1009,8 @@ include/generated/utsrelease.h: include/config/kernel.release FORCE
1009 1009
1010PHONY += headerdep 1010PHONY += headerdep
1011headerdep: 1011headerdep:
1012 $(Q)find include/ -name '*.h' | xargs --max-args 1 scripts/headerdep.pl 1012 $(Q)find $(srctree)/include/ -name '*.h' | xargs --max-args 1 \
1013 $(srctree)/scripts/headerdep.pl -I$(srctree)/include
1013 1014
1014# --------------------------------------------------------------------------- 1015# ---------------------------------------------------------------------------
1015 1016
@@ -1417,13 +1418,15 @@ tags TAGS cscope gtags: FORCE
1417# Scripts to check various things for consistency 1418# Scripts to check various things for consistency
1418# --------------------------------------------------------------------------- 1419# ---------------------------------------------------------------------------
1419 1420
1421PHONY += includecheck versioncheck coccicheck namespacecheck export_report
1422
1420includecheck: 1423includecheck:
1421 find * $(RCS_FIND_IGNORE) \ 1424 find $(srctree)/* $(RCS_FIND_IGNORE) \
1422 -name '*.[hcS]' -type f -print | sort \ 1425 -name '*.[hcS]' -type f -print | sort \
1423 | xargs $(PERL) -w $(srctree)/scripts/checkincludes.pl 1426 | xargs $(PERL) -w $(srctree)/scripts/checkincludes.pl
1424 1427
1425versioncheck: 1428versioncheck:
1426 find * $(RCS_FIND_IGNORE) \ 1429 find $(srctree)/* $(RCS_FIND_IGNORE) \
1427 -name '*.[hcS]' -type f -print | sort \ 1430 -name '*.[hcS]' -type f -print | sort \
1428 | xargs $(PERL) -w $(srctree)/scripts/checkversion.pl 1431 | xargs $(PERL) -w $(srctree)/scripts/checkversion.pl
1429 1432