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

Submitted by Cyrill Gorcunov on July 12, 2018, 12:51 p.m.

Details

Message ID 20180712125142.8737-11-gorcunov@gmail.com
State New
Series "build: Fix issue on simultaneous build"
Headers show

Commit Message

Cyrill Gorcunov July 12, 2018, 12:51 p.m.
They were occasionally kept in obj-y.

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

Patch hide | download patch | download mbox

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)