[CRIU] [PATCH 7/7] build/make: return to make from top Makefile
Cyrill Gorcunov
gorcunov at gmail.com
Mon Jul 18 06:57:06 PDT 2016
On Fri, Jul 15, 2016 at 03:17:59PM +0300, Dmitry Safonov wrote:
> It looks like, there is not so much that needs to be fixed for
> building criu from a top Makefile.
> After the patch it's possible to do `make criu/mount.o` i.e.
> It will build protobuf, compel as dependencies (if they are not built),
> but no more from criu objects. If something breaks, you can
> do make from vim and jump to error. Nice.
> Mostly the patch corrects pathes to objects - I tried to make them
> depend on $(obj) or $(SRC_DIR)/criu, where it's possible.
>
> After it tested:
> `make -j 10`, `make criu/log.o`, `make clean`, `make mrproper`,
> `make install DESTDIR=/tmp/criu`, `make uninstall DESTDIR=/tmp/criu`
>
> Cc: Cyrill Gorcunov <gorcunov at openvz.org>
> Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
Reviewed-by: Cyrill Gorcunov <gorcunov at openvz.org>
It should work without previous patch.
More information about the CRIU
mailing list