linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • * [PATCH v2] firmware/Makefile: force recompilation if makefile changes
           [not found] <20170118173156.16060-1-mcgrof@kernel.org>
           [not found] ` <20170119101507.GA18592@kroah.com>
    @ 2017-01-23 15:07 ` Luis R. Rodriguez
      2017-02-06 22:03   ` Luis R. Rodriguez
      2017-03-11  5:37   ` Masahiro Yamada
      1 sibling, 2 replies; 12+ messages in thread
    From: Luis R. Rodriguez @ 2017-01-23 15:07 UTC (permalink / raw)
      To: mmarek
      Cc: linux-kbuild, ming.lei, gregkh, teg, linux-kernel, dwmw2,
    	Luis R. Rodriguez
    
    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
    
    
    ^ permalink raw reply related	[flat|nested] 12+ messages in thread

  • end of thread, other threads:[~2017-03-18 13:48 UTC | newest]
    
    Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
    -- links below jump to the message on this page --
         [not found] <20170118173156.16060-1-mcgrof@kernel.org>
         [not found] ` <20170119101507.GA18592@kroah.com>
    2017-01-23 14:59   ` [PATCH] firmware/Makefile: force recompilation if makefile changes Luis R. Rodriguez
    2017-01-23 15:02     ` Greg KH
    2017-01-23 15:04       ` Luis R. Rodriguez
    2017-01-23 15:07 ` [PATCH v2] " Luis R. Rodriguez
    2017-02-06 22:03   ` Luis R. Rodriguez
    2017-02-14 19:34     ` Luis R. Rodriguez
    2017-02-21 19:38       ` Luis R. Rodriguez
    2017-03-11  5:37   ` Masahiro Yamada
    2017-03-15  0:53     ` Luis R. Rodriguez
    2017-03-16 17:43       ` Masahiro Yamada
    2017-03-16 17:55         ` Luis R. Rodriguez
    2017-03-18 13:32           ` Masahiro Yamada
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).