diff options
| author | Luis R. Rodriguez <mcgrof@kernel.org> | 2017-05-08 18:55:30 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-08 20:15:10 -0400 |
| commit | 0cd5246bf8e61bb1f61a4bd1203573f8a9adf085 (patch) | |
| tree | 95e9ec7f871ea5c180a92744f2a6e24b650c9e3f /firmware | |
| parent | e327fd7c86678ba22d2b7cd25f6ceef1ffe29c8a (diff) | |
firmware/Makefile: force recompilation if makefile changes
If you modify the target asm we currently do not force the recompilation
of the firmware files. The target asm is in the firmware/Makefile, peg
this file as a dependency to require re-compilation of firmware targets
when the asm changes.
Link: http://lkml.kernel.org/r/20170123150727.4883-1-mcgrof@kernel.org
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Michal Marek <mmarek@suse.com>
Cc: Ming Lei <ming.lei@canonical.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Tom Gundersen <teg@jklm.no>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware')
| -rw-r--r-- | firmware/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/Makefile b/firmware/Makefile index e297e1b52636..fa3e81c2a97b 100644 --- a/firmware/Makefile +++ b/firmware/Makefile | |||
| @@ -176,7 +176,8 @@ quiet_cmd_fwbin = MK_FW $@ | |||
| 176 | wordsize_deps := $(wildcard include/config/64bit.h include/config/32bit.h \ | 176 | wordsize_deps := $(wildcard include/config/64bit.h include/config/32bit.h \ |
| 177 | include/config/ppc32.h include/config/ppc64.h \ | 177 | include/config/ppc32.h include/config/ppc64.h \ |
| 178 | include/config/superh32.h include/config/superh64.h \ | 178 | include/config/superh32.h include/config/superh64.h \ |
| 179 | include/config/x86_32.h include/config/x86_64.h) | 179 | include/config/x86_32.h include/config/x86_64.h \ |
| 180 | firmware/Makefile) | ||
| 180 | 181 | ||
| 181 | $(patsubst %,$(obj)/%.gen.S, $(fw-shipped-y)): %: $(wordsize_deps) | 182 | $(patsubst %,$(obj)/%.gen.S, $(fw-shipped-y)): %: $(wordsize_deps) |
| 182 | $(call cmd,fwbin,$(patsubst %.gen.S,%,$@)) | 183 | $(call cmd,fwbin,$(patsubst %.gen.S,%,$@)) |
