[CRIU] Re: [PATCH] makefile: build pie after protobuf

Cyrill Gorcunov gorcunov at openvz.org
Wed Aug 8 03:21:54 EDT 2012


On Wed, Aug 08, 2012 at 11:20:01AM +0400, Cyrill Gorcunov wrote:
> On Wed, Aug 08, 2012 at 11:10:10AM +0400, Kinsbursky Stanislav wrote:
> > Now pie targets depends on protobuf targets.
> > 
> > Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>
> > 
> > ---
> >  Makefile |    5 +++--
> >  1 files changed, 3 insertions(+), 2 deletions(-)
> > 
> > diff --git a/Makefile b/Makefile
> > index 7b2cc3b..cada041 100644
> > --- a/Makefile
> > +++ b/Makefile
> > @@ -75,10 +75,11 @@ include Makefile.pie
> >  .PHONY: all zdtm test rebuild clean distclean tags cscope	\
> >  	docs help pie protobuf
> >  
> > -all: protobuf pie
> > +all: pie
> >  	$(Q) $(MAKE) $(PROGRAM)
> >  
> > -pie: $(PIE-GEN)
> > +pie: protobuf
> > +	$(Q) $(MAKE) $(PIE-GEN)
> > 
> 
> Huh? Why you've dropped $(PIE-GEN) here?

I think it should be something like

all: pie
pie: protobuf $(PIE-GEN)

	Cyrill


More information about the CRIU mailing list