2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 13:28:27 +00:00

compel: Drop off handle-elf routines from library

piegen mode is cli only, so no need for them in library.

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:
Cyrill Gorcunov 2016-11-15 12:43:00 +03:00 committed by Andrei Vagin
parent 3821b3423e
commit 64bb75a859

View File

@ -15,10 +15,6 @@ ccflags-y += -I compel/include/uapi
ccflags-y += -I compel/plugins/include/uapi ccflags-y += -I compel/plugins/include/uapi
lib-name := libcompel.a lib-name := libcompel.a
lib-y += arch/$(ARCH)/src/lib/handle-elf.o
host-lib-y += arch/$(ARCH)/src/lib/handle-elf.o
lib-y += src/lib/handle-elf.o
host-lib-y += src/lib/handle-elf.o
lib-y += src/lib/log.o lib-y += src/lib/log.o
host-lib-y += src/lib/log.o host-lib-y += src/lib/log.o
@ -30,11 +26,12 @@ lib-y += src/lib/infect.o
lib-y += src/lib/ptrace.o lib-y += src/lib/ptrace.o
ifeq ($(ARCH),x86) ifeq ($(ARCH),x86)
lib-y += src/lib/handle-elf-32.o obj-y += src/lib/handle-elf-32.o
host-lib-y += src/lib/handle-elf-32.o
endif endif
obj-y += src/main.o obj-y += src/main.o
obj-y += arch/$(ARCH)/src/lib/handle-elf.o
obj-y += src/lib/handle-elf.o
ifeq ($(ARCH),x86) ifeq ($(ARCH),x86)
CFLAGS_handle-elf-32.o += -UCONFIG_X86_64 -DCONFIG_X86_32 CFLAGS_handle-elf-32.o += -UCONFIG_X86_64 -DCONFIG_X86_32