[CRIU] [PATCH 10/11] compel: Move lib files into lib-y

Cyrill Gorcunov gorcunov at gmail.com
Thu Jul 12 15:51:41 MSK 2018


They were occasionally kept in obj-y.

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 compel/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/compel/Makefile b/compel/Makefile
index 7ef01aa0104c..f751d6a740bd 100644
--- a/compel/Makefile
+++ b/compel/Makefile
@@ -24,6 +24,10 @@ host-lib-y		+= src/lib/log.o
 
 lib-y			+= arch/$(ARCH)/src/lib/cpu.o
 lib-y			+= arch/$(ARCH)/src/lib/infect.o
+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/infect-rpc.o
 lib-y			+= src/lib/infect-util.o
 lib-y			+= src/lib/infect.o
@@ -36,8 +40,6 @@ HOSTCFLAGS		+= -DNO_RELOCS
 endif
 
 obj-y			+= src/main.o
-obj-y			+= arch/$(ARCH)/src/lib/handle-elf.o
-obj-y			+= src/lib/handle-elf.o
 
 host-ccflags-y		+= $(ccflags-y)
 
-- 
2.14.4



More information about the CRIU mailing list