diff options
author | Peter Foley <pefoley2@verizon.net> | 2011-04-26 17:17:11 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-05-12 16:30:40 +0200 |
commit | 9663d9890d80408c4a5c8280c5db775fbe082203 (patch) | |
tree | 2b699772031e3af8143b3205d836c004bf7e1db8 | |
parent | 279f3dd3569d08226f8b8e41704d65e8b679d3d7 (diff) | |
download | linux-stable-9663d9890d80408c4a5c8280c5db775fbe082203.tar.gz linux-stable-9663d9890d80408c4a5c8280c5db775fbe082203.tar.bz2 linux-stable-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 # --------------------------------------------------------------------------- |