make: Add .config file processing (v3)

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.

v2: Add .config to .gitignore
v3: Don't check that make mrproper removes .config

https://github.com/xemul/criu/issues/235
travis-ci: success for Don't compile in binfmt_misc dumping code by default (rev3)
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Reviewed-by: Dmirty Safonov <dsafonov@virtuozzo.com>
This commit is contained in:
Pavel Emelyanov 2016-11-02 07:29:27 +03:00
parent 1821acedd0
commit a1ba078830
3 changed files with 9 additions and 2 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
.config
*.o
*.d
*.a