Skip to content

Commit

Permalink
kbuild: make headerdep work in KBUILD_OUTDIR
Browse files Browse the repository at this point in the history
This patch fixes the headerdep target so it works when make is invoked
in KBUILD_OUTDIR.

Signed-off-by: Peter Foley <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
pefoley2 authored and michal42 committed May 12, 2011
1 parent 279f3dd commit 9663d98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

# ---------------------------------------------------------------------------

Expand Down

0 comments on commit 9663d98

Please sign in to comment.