[CRIU] [PATCH 02/10] make: Add scripts/Makefile.rules

Cyrill Gorcunov gorcunov at openvz.org
Mon Feb 18 09:09:51 EST 2013


On Mon, Feb 18, 2013 at 06:03:24PM +0400, Pavel Emelyanov wrote:
> On 02/15/2013 11:40 PM, Cyrill Gorcunov wrote:
> > 
> > This helpers will be used in rules generation
> > for new make infrastructure.
> > 
> > At moment only a few helpers here -- to compile
> > *.c and *.S files, and generate *.d,*.s,*.i files.
> > 
> > Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> > ---
> >  scripts/Makefile.rules | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++
> >  1 file changed, 52 insertions(+)
> >  create mode 100644 scripts/Makefile.rules
> > 
> 
> > diff --git a/scripts/Makefile.rules b/scripts/Makefile.rules
> > new file mode 100644
> > index 0000000..c197678
> > --- /dev/null
> > +++ b/scripts/Makefile.rules
> ...
> > +
> > +##
> > +## In case if someone add last resort rule
> > +## together with .SUFFIXES not cleaned, this
> > +## will slow down the build procedure
> > +scripts/Makefile.rules::
> > +	@echo > /dev/null
> 
> I've already seen this in patch #1...

Patch #1 addresses it for Makefile.version and this one -- for Makefile.rules.
So it's fine.


More information about the CRIU mailing list