mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
make: Be able to force turning off piegen
For testing purpose we need to disable using of piegen utility. So lets add PIEGEN make option thus one can "PIEGEN=no make" to build criu without piegen at all. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
2a0c8db72b
commit
bf4243e303
4 changed files with 21 additions and 8 deletions
|
|
@ -40,6 +40,9 @@ ifeq ($(VDSO),y)
|
|||
endif
|
||||
ifeq ($(call try-cc,$(SETPROCTITLE_INIT_TEST),-lbsd),y)
|
||||
$(Q) @echo '#define CONFIG_HAS_SETPROCTITLE_INIT' >> $@
|
||||
endif
|
||||
ifeq ($(piegen-y),y)
|
||||
$(Q) @echo '#define CONFIG_PIEGEN' >> $@
|
||||
endif
|
||||
$(Q) @echo '#endif /* __CR_CONFIG_H__ */' >> $@
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue