kbuild: Fix dependencies for final vmlinux link
The if_changed directive is useless against phony targets.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 2441e78b19
("kbuild: better abstract vmlinux sequential prerequisites")
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
parent
2441e78b19
commit
edf69470f9
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -953,7 +953,7 @@ include/generated/autoksyms.h: FORCE
|
|||
cmd_link-vmlinux = $(CONFIG_SHELL) $< $(LD) $(LDFLAGS) $(LDFLAGS_vmlinux)
|
||||
quiet_cmd_link-vmlinux = LINK $@
|
||||
|
||||
vmlinux: scripts/link-vmlinux.sh vmlinux_prereq FORCE
|
||||
vmlinux: scripts/link-vmlinux.sh vmlinux_prereq $(vmlinux-deps) FORCE
|
||||
+$(call if_changed,link-vmlinux)
|
||||
|
||||
# Build samples along the rest of the kernel
|
||||
|
|
Loading…
Reference in a new issue