Commit edf69470 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Michal Marek

kbuild: Fix dependencies for final vmlinux link

The if_changed directive is useless against phony targets.
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Fixes: 2441e78b ("kbuild: better abstract vmlinux sequential prerequisites")
Signed-off-by: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 2441e78b
...@@ -953,7 +953,7 @@ include/generated/autoksyms.h: FORCE ...@@ -953,7 +953,7 @@ include/generated/autoksyms.h: FORCE
cmd_link-vmlinux = $(CONFIG_SHELL) $< $(LD) $(LDFLAGS) $(LDFLAGS_vmlinux) cmd_link-vmlinux = $(CONFIG_SHELL) $< $(LD) $(LDFLAGS) $(LDFLAGS_vmlinux)
quiet_cmd_link-vmlinux = LINK $@ 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) +$(call if_changed,link-vmlinux)
# Build samples along the rest of the kernel # Build samples along the rest of the kernel
......
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