[CRIU] [PATCH 1/2] make: Add .config file processing

Dmitry Safonov 0x7f454c46 at gmail.com
Tue Nov 1 04:30:58 PDT 2016


2016-11-01 6:19 GMT+03:00 Pavel Emelyanov <xemul at virtuozzo.com>:
> In this file one can add options with which to build CRIU.
> Each line is (for now) expanded into CONFIG_$(TEXT) macros
> defined in config.h that can be tested later in the code.
>
> Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>

Looks good
Reviewed-by: Dmirty Safonov <dsafonov at virtuozzo.com>

Anyway, I also thought about some thing like that - maybe we
can enhance it by making those options not only C-defines,
but also makefile variables, so we can use obj-y the same way
as in kernel like:
obj-$(CONFIG_AWESOME_FEATURE) += foobar.c

Not sure, if we need this right at this moment - but that would
be nice to have in future.


More information about the CRIU mailing list