aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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