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

kbuild: make headerdep work in KBUILD_OUTDIR

This patch fixes the headerdep target so it works when make is invoked
Signed-off-by: default avatarPeter Foley <>
Signed-off-by: default avatarMichal Marek <>
parent 279f3dd3
......@@ -991,7 +991,8 @@ include/generated/utsrelease.h: include/config/kernel.release FORCE
PHONY += headerdep
$(Q)find include/ -name '*.h' | xargs --max-args 1 scripts/
$(Q)find $(srctree)/include/ -name '*.h' | xargs --max-args 1 \
$(srctree)/scripts/ -I$(srctree)/include
# ---------------------------------------------------------------------------
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment