Commit 9663d989 authored by Peter Foley's avatar Peter Foley Committed by Michal Marek
Browse files

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: default avatarPeter Foley <pefoley2@verizon.net>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 279f3dd3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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

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