diff options
author | Peter Foley <pefoley2@verizon.net> | 2011-04-27 01:17:11 +0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-05-12 18:30:40 +0400 |
commit | 9663d9890d80408c4a5c8280c5db775fbe082203 (patch) | |
tree | 2b699772031e3af8143b3205d836c004bf7e1db8 /Makefile | |
parent | 279f3dd3569d08226f8b8e41704d65e8b679d3d7 (diff) | |
download | linux-9663d9890d80408c4a5c8280c5db775fbe082203.tar.xz |
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 PHONY += headerdep headerdep: - $(Q)find include/ -name '*.h' | xargs --max-args 1 scripts/headerdep.pl + $(Q)find $(srctree)/include/ -name '*.h' | xargs --max-args 1 \ + $(srctree)/scripts/headerdep.pl -I$(srctree)/include # --------------------------------------------------------------------------- |