[CRIU] [PATCH 0/4] Generate libcriu.so using general make engine
Pavel Emelyanov
xemul at parallels.com
Thu Aug 29 06:55:05 EDT 2013
On 08/28/2013 11:57 PM, Cyrill Gorcunov wrote:
> Here we start building libcriu using general make engine.
>
> Pavel, can we please wait moving pie/util-fd.c to some
> util/ directory. The thing is that our make engine is
> not yet autogenerating multiple targets for sources
> which lays outside of directory.
>
> This is more-less fine at moment since library explicitly
> depends on pie code to be generated first but it will become
> a problem in future, and if I start moving code to util/ now
> it simply will make all things more vague :(
>
> Thus I need to think about our make engine and make it more
> flexible, which of course requires some time.
>
> For what we have after this series -- should be enough to
> allow Ruslan to continue developing library simply adding
> new obj-y targets into lib/Makefile.
>
> Cyrill Gorcunov (4):
> build: Don't forget to use LDFLAGS when ld invoked
> pie: Move send_fds/recv_fds helpers into separate pie/util-fd.c
> make: Use generic build engine for libcriu.so
> git: Don't track *.so files
>
> .gitignore | 1 +
> Makefile | 13 ++--
> lib/Makefile | 34 ++++++++---
> pie/Makefile | 1 +
> pie/util-fd.c | 157 +++++++++++++++++++++++++++++++++++++++++++++++++
> pie/util.c | 139 -------------------------------------------
> scripts/Makefile.build | 4 +-
> 7 files changed, 194 insertions(+), 155 deletions(-)
> create mode 100644 pie/util-fd.c
>
Applied, thanks.
More information about the CRIU
mailing list