[CRIU] [PATCH] Move feature-tests in top-make

Dmitry Safonov dsafonov at virtuozzo.com
Mon Sep 26 06:05:42 PDT 2016


As soccr, compel need defines from feature-tests, generate
config.h in top-make.
Note, that you may need to link binaries with $(LIBS), as
some headers/sources may expect you do this (i.e, using strlcpy).
I've left config.h in the same place (criu/include), compel/soccr
may add that path to iquote or make symbolic link there.

Dmitry Safonov (1):
  build: generate config.h in the top-make

 Makefile                                | 27 ++++++++++++++++++++++++---
 Makefile.compel                         |  4 ++--
 criu/Makefile.config => Makefile.config | 14 +++++++++-----
 criu/Makefile                           | 23 +----------------------
 criu/Makefile.packages                  |  2 +-
 5 files changed, 37 insertions(+), 33 deletions(-)
 rename criu/Makefile.config => Makefile.config (84%)

-- 
2.10.0



More information about the CRIU mailing list