提交 edf69470 编写于 作者: N Nicolas Pitre 提交者: Michal Marek

kbuild: Fix dependencies for final vmlinux link

The if_changed directive is useless against phony targets.
Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
Fixes: 2441e78b ("kbuild: better abstract vmlinux sequential prerequisites")
Signed-off-by: NNicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: NMichal Marek <mmarek@suse.cz>
上级 2441e78b
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册