[CRIU] Re: [PATCH 06/13] make: Add own Makefile.pie for binary blobs we generate

Cyrill Gorcunov gorcunov at openvz.org
Wed Apr 18 05:35:35 EDT 2012


On Wed, Apr 18, 2012 at 12:22:04PM +0400, Pavel Emelyanov wrote:
> > -RSRCS-BLOB	+= $(patsubst %.o,%.c,$(ROBJS))
> > +DEPS		:= $(patsubst %.o,%.d,$(OBJS))
> >  
> > -RSRCS-BLOB	+= $(patsubst %.o,%.c,$(ROBJS-BLOB))
> > -
> > -RHEAD-BLOB-GEN	:= $(patsubst %.o,%-blob.h,$(ROBJS-BLOB))
> > -RHEAD-BIN	:= $(patsubst %.o,%.bin,$(ROBJS-BLOB))
> > -
> > -DEPS		:= $(patsubst %.o,%.d,$(OBJS))		\
> > -       		   $(patsubst %.o,%.d,$(OBJS-BLOB))	\
> > -		   $(patsubst %.o,%.d,$(ROBJS-BLOB))
> > -
> > -GEN-OFFSETS	:= gen-offsets.sh
> > +-include Makefile.pie
> 
> Why -include? Makefile.pie always exists.

It will issue error if someone occasionally delete this
file from source code, in turn plain "include" simply
ignores such case.

	Cyrill


More information about the CRIU mailing list