Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1565037
| From | "Luis R. Rodriguez" <mcgrof@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2] firmware/Makefile: force recompilation if makefile changes |
| Date | 2017-01-23 16:10 +0100 |
| Message-ID | <t2OpS-812-63@gated-at.bofh.it> (permalink) |
| References | <t12ng-6Z8-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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. Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org> --- Michal, I had this patch as part of my linker table series [0] but have split it off as its a small atomic separate change and can go in separately. Greg prefers this be reviewed by the kbuild tree so sending it your way. This v2 has no modifications, just resending it to the kbuild tree. [0] https://lkml.kernel.org/r/20170115211057.17167-1-mcgrof@kernel.org firmware/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 $@ wordsize_deps := $(wildcard include/config/64bit.h include/config/32bit.h \ include/config/ppc32.h include/config/ppc64.h \ include/config/superh32.h include/config/superh64.h \ - include/config/x86_32.h include/config/x86_64.h) + include/config/x86_32.h include/config/x86_64.h \ + firmware/Makefile) $(patsubst %,$(obj)/%.gen.S, $(fw-shipped-y)): %: $(wordsize_deps) $(call cmd,fwbin,$(patsubst %.gen.S,%,$@)) -- 2.11.0
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] firmware/Makefile: force recompilation if makefile changes "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-18 18:40 +0100
Re: [PATCH] firmware/Makefile: force recompilation if makefile changes Greg KH <gregkh@linuxfoundation.org> - 2017-01-19 11:30 +0100
Re: [PATCH] firmware/Makefile: force recompilation if makefile changes "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-23 16:10 +0100
Re: [PATCH] firmware/Makefile: force recompilation if makefile changes "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-23 16:10 +0100
Re: [PATCH] firmware/Makefile: force recompilation if makefile changes Greg KH <gregkh@linuxfoundation.org> - 2017-01-23 16:10 +0100
[PATCH v2] firmware/Makefile: force recompilation if makefile changes "Luis R. Rodriguez" <mcgrof@kernel.org> - 2017-01-23 16:10 +0100
csiph-web