From 3c044783afb6201219796720da4d3c6e51044f61 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Thu, 12 Jul 2018 15:51:41 +0300 Subject: [PATCH] compel: Move lib files into lib-y They were occasionally kept in obj-y. Signed-off-by: Cyrill Gorcunov Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com> Signed-off-by: Andrei Vagin --- compel/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/compel/Makefile b/compel/Makefile index 7ef01aa01..f751d6a74 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)