diff options
author | Cyrill Gorcunov <gorcunov@openvz.org> | 2016-02-15 15:26:55 +0300 |
---|---|---|
committer | Pavel Emelyanov <xemul@virtuozzo.com> | 2016-02-15 15:32:45 +0300 |
commit | db6cb69394a7618532791af801e65a2f32e54c98 (patch) | |
tree | be12fdabb77ca4e7695e2af184c302a4a992505e /Makefile.config | |
parent | 3410d39514ae789a7681737dcb297aefe5305b8c (diff) |
build: Move everything criu related into criu directory
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Diffstat (limited to 'Makefile.config')
-rw-r--r-- | Makefile.config | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/Makefile.config b/Makefile.config deleted file mode 100644 index 26d581bfa..000000000 --- a/Makefile.config +++ /dev/null @@ -1,54 +0,0 @@ -include scripts/utilities.mak -include scripts/feature-tests.mak - -CONFIG := include/config.h - -ifeq ($(call try-cc,$(LIBBSD_DEV_TEST),-lbsd),y) - LIBS += -lbsd - DEFINES += -DCONFIG_HAS_LIBBSD -endif - -ifeq ($(call pkg-config-check,libselinux),y) - LIBS := -lselinux $(LIBS) - DEFINES += -DCONFIG_HAS_SELINUX -endif - -$(CONFIG): scripts/utilities.mak scripts/feature-tests.mak include/config-base.h - $(E) " GEN " $@ - $(Q) @echo '#ifndef __CR_CONFIG_H__' > $@ - $(Q) @echo '#define __CR_CONFIG_H__' >> $@ - $(Q) @echo '' >> $@ - $(Q) @echo '#include "config-base.h"' >> $@ - $(Q) @echo '' >> $@ -ifeq ($(call try-cc,$(TCP_REPAIR_TEST),),y) - $(Q) @echo '#define CONFIG_HAS_TCP_REPAIR' >> $@ -endif -ifeq ($(call try-cc,$(PRLIMIT_TEST),),y) - $(Q) @echo '#define CONFIG_HAS_PRLIMIT' >> $@ -endif -ifeq ($(call try-cc,$(STRLCPY_TEST),$(LIBS)),y) - $(Q) @echo '#define CONFIG_HAS_STRLCPY' >> $@ -endif -ifeq ($(call try-cc,$(STRLCAT_TEST),$(LIBS)),y) - $(Q) @echo '#define CONFIG_HAS_STRLCAT' >> $@ -endif -ifeq ($(call try-cc,$(PTRACE_PEEKSIGINFO_TEST),),y) - $(Q) @echo '#define CONFIG_HAS_PEEKSIGINFO_ARGS' >> $@ -endif -ifeq ($(VDSO),y) - $(Q) @echo '#define CONFIG_VDSO' >> $@ -endif -ifeq ($(call try-cc,$(SETPROCTITLE_INIT_TEST),-lbsd),y) - $(Q) @echo '#define CONFIG_HAS_SETPROCTITLE_INIT' >> $@ -endif -ifeq ($(call try-cc,$(MEMFD_TEST),),y) - $(Q) @echo '#define CONFIG_HAS_MEMFD' >> $@ -endif -ifeq ($(piegen-y),y) - $(Q) @echo '#define CONFIG_PIEGEN' >> $@ -endif - $(Q) @echo '#endif /* __CR_CONFIG_H__ */' >> $@ - -config: $(CONFIG) - -.PHONY: config |