diff options
author | Peter Foley <pefoley2@verizon.net> | 2011-04-26 23:17:11 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-05-12 16:30:40 +0200 |
commit | 9663d9890d80408c4a5c8280c5db775fbe082203 (patch) | |
tree | 2b699772031e3af8143b3205d836c004bf7e1db8 | |
parent | kbuild: add targets to PHONY (diff) | |
download | linux-9663d9890d80408c4a5c8280c5db775fbe082203.tar.xz linux-9663d9890d80408c4a5c8280c5db775fbe082203.zip |
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>
-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 # --------------------------------------------------------------------------- |