[CRIU] [PATCH 00/10] Compel tool initial commit, v2

Cyrill Gorcunov gorcunov at openvz.org
Tue Mar 22 12:15:26 PDT 2016


In the series we enhance nmk engine for host programs
generation (previously we've been using explicit @CC
parameter passing) and do initial commit of compel
tool which is a replacement for piegen.

Same time compel will be shipping libcompel which
then be used for parasite code handling. This is
in TODO list.

This series op top of series

        [PATCH 0/9] nmk: Fixups and preps for compel mode

Please take a look.

Cyrill Gorcunov (10):
  nmk: rules.mk -- Fix AFLAGS typo
  nmk: Drop rules.mk
  nmk: build.mk -- Squash gen-rule-x into gen-cc-rules
  nmk: build.mk -- Fix deps for target mode
  nmk: build.mk -- Drop any-match rule
  nmk: build.mk -- Shrink gen-cc-rules
  nmk: msg.mk -- Add host- messages
  nmk: build.mk -- Add @hostprogs-y mode
  compel: Initial commit
  build: criu -- Generate version and config from toplevel

 Makefile                                         | 137 ++++++++++++++++-
 Makefile.versions                                |   4 +
 compel/Makefile                                  |  33 +++++
 {criu/pie/piegen => compel/include}/piegen.h     |   1 +
 compel/include/uapi/libcompel.h                  |   4 +
 {criu/pie/piegen => compel/include}/uapi/types.h |   0
 compel/lib/compel.c                              |   0
 {criu/pie/piegen => compel/src}/elf-ppc64.c      |   0
 {criu/pie/piegen => compel/src}/elf-x86-32.c     |   0
 {criu/pie/piegen => compel/src}/elf-x86-64.c     |   0
 {criu/pie/piegen => compel/src}/elf.c            |   2 +-
 {criu/pie/piegen => compel/src}/main.c           | 178 ++++++++++++++++-------
 criu/Makefile                                    |  62 +-------
 criu/Makefile.config                             |  60 --------
 criu/Makefile.version                            |  32 ----
 criu/pie/Makefile                                |  12 +-
 criu/pie/pie-relocs.c                            |   2 +-
 criu/pie/pie-relocs.h                            |   2 +-
 criu/pie/piegen/Makefile                         |  17 ---
 scripts/nmk/scripts/build.mk                     |  94 ++++++++++--
 scripts/nmk/scripts/main.mk                      |   1 -
 scripts/nmk/scripts/msg.mk                       |  12 ++
 scripts/nmk/scripts/rules.mk                     |  66 ---------
 23 files changed, 412 insertions(+), 307 deletions(-)
 create mode 100644 compel/Makefile
 rename {criu/pie/piegen => compel/include}/piegen.h (98%)
 create mode 100644 compel/include/uapi/libcompel.h
 rename {criu/pie/piegen => compel/include}/uapi/types.h (100%)
 create mode 100644 compel/lib/compel.c
 rename {criu/pie/piegen => compel/src}/elf-ppc64.c (100%)
 rename {criu/pie/piegen => compel/src}/elf-x86-32.c (100%)
 rename {criu/pie/piegen => compel/src}/elf-x86-64.c (100%)
 rename {criu/pie/piegen => compel/src}/elf.c (99%)
 rename {criu/pie/piegen => compel/src}/main.c (57%)
 delete mode 100644 criu/Makefile.config
 delete mode 100644 criu/Makefile.version
 delete mode 100644 criu/pie/piegen/Makefile
 delete mode 100644 scripts/nmk/scripts/rules.mk

-- 
2.5.0



More information about the CRIU mailing list