Commit a54292f5 authored by Andreas Schwab's avatar Andreas Schwab Committed by Michal Marek

kbuild: generate generic headers before recursing into scripts

The headers are now needed inside scripts/mod since 6543becf
("mod/file2alias: make modalias generation safe for cross compiling").
Reported-and-tested-by: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
Reported-and-tested-by: default avatar"Jon Medhurst (Tixy)" <tixy@linaro.org>
Signed-off-by: default avatarAndreas Schwab <schwab@linux-m68k.org>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 6dbe51c2
......@@ -513,7 +513,8 @@ ifeq ($(KBUILD_EXTMOD),)
# Carefully list dependencies so we do not try to build scripts twice
# in parallel
PHONY += scripts
scripts: scripts_basic include/config/auto.conf include/config/tristate.conf
scripts: scripts_basic include/config/auto.conf include/config/tristate.conf \
asm-generic
$(Q)$(MAKE) $(build)=$(@)
# Objects we will link into vmlinux / subdirs we need to visit
......
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