lkml.org 
[lkml]   [2008]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Better way to force a rebuild
    On Wed, Dec 10, 2008 at 10:28:21PM +0100, Sam Ravnborg wrote:
    >
    > I made the following quick hack.
    > I think it should do the trick.
    >
    > Sam
    >
    > diff --git a/scripts/Makefile.build b/scripts/Makefile.build
    > index 468fbc9..8b5bf43 100644
    > --- a/scripts/Makefile.build
    > +++ b/scripts/Makefile.build
    > @@ -215,7 +215,8 @@ define rule_cc_o_c
    > $(call echo-cmd,cc_o_c) $(cmd_cc_o_c); \
    > $(cmd_modversions) \
    > $(cmd_record_mcount) \
    > - scripts/basic/fixdep $(depfile) $@ '$(call make-cmd,cc_o_c)' > \
    > + scripts/basic/fixdep $(depfile) $@ \
    > + '$(call make-cmd,cc_o_c) $(call make-cmd,record_mcount)' > \
    > $(dot-target).tmp; \
    > rm -f $(depfile); \
    > mv -f $(dot-target).tmp $(dot-target).cmd

    Hi Steven.

    Did you try the above?
    If it works I will add it to kbuild-next.git

    Sam


    \
     
     \ /
      Last update: 2008-12-14 00:17    [W:0.153 / U:0.032 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site