mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
compel: plugins,std -- Add syscall-types.h header
Both std and criu will use it for syscalls sake. Note I've to disable x86 compat mode for a while: we have to provide native types there thus will back once everything else is complete. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
0264fdcc3a
commit
e0697f780d
14 changed files with 132 additions and 139 deletions
|
|
@ -19,13 +19,15 @@ CONFIG_FILE = $(SRC_DIR)/.config
|
|||
$(CONFIG_FILE):
|
||||
touch $(CONFIG_FILE)
|
||||
|
||||
ifeq ($(SRCARCH),x86)
|
||||
# CONFIG_COMPAT is only for x86 now, no need for compile-test other archs
|
||||
ifeq ($(call try-cc,$(FEATURE_TEST_X86_COMPAT),-m32),true)
|
||||
export CONFIG_COMPAT := y
|
||||
FEATURE_DEFINES += -DCONFIG_COMPAT
|
||||
endif
|
||||
endif
|
||||
#
|
||||
# FIXME Bring back once libcompel complete
|
||||
#ifeq ($(SRCARCH),x86)
|
||||
## CONFIG_COMPAT is only for x86 now, no need for compile-test other archs
|
||||
#ifeq ($(call try-cc,$(FEATURE_TEST_X86_COMPAT),-m32),true)
|
||||
# export CONFIG_COMPAT := y
|
||||
# FEATURE_DEFINES += -DCONFIG_COMPAT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
export DEFINES += $(FEATURE_DEFINES)
|
||||
export CFLAGS += $(FEATURE_DEFINES)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue