mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
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>
This commit is contained in:
parent
279f3dd356
commit
9663d9890d
3
Makefile
3
Makefile
@ -991,7 +991,8 @@ include/generated/utsrelease.h: include/config/kernel.release FORCE
|
|||||||
|
|
||||||
PHONY += headerdep
|
PHONY += headerdep
|
||||||
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
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user