[CRIU] [PATCH 0/8] make rework, v3

Cyrill Gorcunov gorcunov at openvz.org
Thu Feb 14 08:17:02 EST 2013


Hi guys, I'm pleased to show a slightly updated version of
make farm rework. The main changes from v2 is the following

 - scripts/Makefile.rules shrinked
 - scripts/Makefile.build now automatically adds objects
   to clean up (such as .o/.d/.s/.i files)
 - deps for asm files now generated as well
 - scripts/Makefile.version fixed

Still there is a problem remains which doesn't allow me
to convert program sources to new simplified makefile (mainly
because our source code lays in the main directory).

Thus is there some objections to move source code to
src/ directory? Thus we will have the following structure

	arch/
	Documentation/
	include/
	pie/
	protobuf/
	scripts/
	test/
	src/

	... rest of files ...

	Makefile

I guess this might make sense since people start interesting in having
crtools not as a command line tool but rather a library. Opinions?

And please give this set very intensive testing!!!

Cyrill Gorcunov (8):
  make: Add scripts/Makefile.rules
  make: Add scripts/Makefile.build
  make: Fix scripts/Makefile.version
  docs: Add documentation about scritps/Makefile.build
  make: arch -- Switch to a new build scheme
  make: protobuf -- Switch to a new scheme
  make: pie -- Switch to a new scheme
  make: Use rules from scripts/Makefile.rules

 .gitignore                       |   3 +
 Documentation/Makefile           |   1 +
 Documentation/Makefile.build.txt | 188 +++++++++++++++++++++++++++++++++++++++
 Makefile                         |  57 ++++++------
 arch/arm/Makefile                |  66 +++++++-------
 arch/x86/Makefile                |  80 ++++++++---------
 arch/x86/syscalls-x86-64.sh      |  11 +--
 pie/Makefile                     |  90 +++++++------------
 pie/gen-offsets.sh               |   7 +-
 pie/util-net.c                   | 151 +++++++++++++++++++++++++++++++
 protobuf/Makefile                | 166 ++++++++++++++++++----------------
 scripts/Makefile.build           | 184 ++++++++++++++++++++++++++++++++++++++
 scripts/Makefile.rules           |  45 ++++++++++
 scripts/Makefile.version         |   7 +-
 util-net.c                       | 151 -------------------------------
 15 files changed, 808 insertions(+), 399 deletions(-)
 create mode 100644 Documentation/Makefile.build.txt
 create mode 100644 pie/util-net.c
 create mode 100644 scripts/Makefile.build
 create mode 100644 scripts/Makefile.rules
 delete mode 100644 util-net.c

-- 
1.8.1.2


More information about the CRIU mailing list