[CRIU] [PATCH 2/9 v2] lib Makefiles: integrate
Dmitry Safonov
0x7f454c46 at gmail.com
Mon Feb 27 01:36:11 PST 2017
2017-02-23 2:15 GMT+03:00 Kir Kolyshkin <kir at openvz.org>:
> Our whole system of Makefiles are integrated from top to bottom,
> meaning:
>
> 1. The paths in sub-makefiles are relative to the top source dir.
> 2. Sub-makefiles are executed via make $(build)=<SUBDIR> <TARGET>
>
> For some reason, makefiles under lib/ are the exclusion. Let's fix it.
>
> Side effect: you can now build any individual target under lib/,
> for example, "make lib/c/libcriu.so" works.
>
> [v2: use the .FORCE, thanks to dsafonov@]
>
> Signed-off-by: Kir Kolyshkin <kir at openvz.org>
Reviewed-by: Dmitry Safonov <dsafonov at virtuozzo.com>
--
Dmitry
More information about the CRIU
mailing list