Skip to content

Commit 0cd5246

Browse files
mcgroftorvalds
authored andcommitted
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>
1 parent e327fd7 commit 0cd5246

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎firmware/Makefile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ quiet_cmd_fwbin = MK_FW $@
176176
wordsize_deps := $(wildcard include/config/64bit.h include/config/32bit.h \
177177
include/config/ppc32.h include/config/ppc64.h \
178178
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)
180181

181182
$(patsubst %,$(obj)/%.gen.S, $(fw-shipped-y)): %: $(wordsize_deps)
182183
$(call cmd,fwbin,$(patsubst %.gen.S,%,$@))

0 commit comments

Comments
 (0)