diff options
author | Peter Foley <pefoley2@verizon.net> | 2011-04-26 17:17:11 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-05-12 10:30:40 -0400 |
commit | 9663d9890d80408c4a5c8280c5db775fbe082203 (patch) | |
tree | 2b699772031e3af8143b3205d836c004bf7e1db8 /Makefile | |
parent | 279f3dd3569d08226f8b8e41704d65e8b679d3d7 (diff) |
kbuild: make headerdep work in KBUILD_OUTDIR
This patch fixes the headerdep target so it works when make is invoked
in KBUILD_OUTDIR.
Signed-off-by: Peter Foley <pefoley2@verizon.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -991,7 +991,8 @@ include/generated/utsrelease.h: include/config/kernel.release FORCE | |||
991 | 991 | ||
992 | PHONY += headerdep | 992 | PHONY += headerdep |
993 | headerdep: | 993 | headerdep: |
994 | $(Q)find include/ -name '*.h' | xargs --max-args 1 scripts/headerdep.pl | 994 | $(Q)find $(srctree)/include/ -name '*.h' | xargs --max-args 1 \ |
995 | $(srctree)/scripts/headerdep.pl -I$(srctree)/include | ||
995 | 996 | ||
996 | # --------------------------------------------------------------------------- | 997 | # --------------------------------------------------------------------------- |
997 | 998 | ||