diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2016-04-26 16:48:44 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2016-04-27 10:29:10 +0200 |
commit | edf69470f9ccd08cf799a5909b6de47d969ca29a (patch) | |
tree | 66bfea091eb77f611f9efeddb6a0bb9013bf1360 | |
parent | 2441e78b19192cd9ea1ce93027a5732a2117f026 (diff) | |
download | linux-edf69470f9ccd08cf799a5909b6de47d969ca29a.tar.bz2 |
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: 2441e78b1919 ("kbuild: better abstract vmlinux sequential prerequisites")
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |