Commit 47b59b47 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

build: criu -- Fix deps for pie/lib.a and criu's built-in.o

 - while arch-lib already depends on syscall lib better to put
   it into deps explicitly
 - criu's built-in.o must depend on the pie target rather than
   pie/lib.a only because it uses -blob.h for internal deps
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent f96718b3
......@@ -124,7 +124,7 @@ endif
#
# PIE library code.
pie/lib.a: $(ARCH-LIB)
pie/lib.a: $(ARCH-LIB) $(SYSCALL-LIB)
$(Q) $(MAKE) $(call build-as,Makefile.library,pie) all
#
......@@ -142,7 +142,7 @@ PROGRAM-BUILTINS += $(SYSCALL-LIB)
LIBS += arch/$(ARCH)/crtools.built-in.o
built-in.o: pie/lib.a
built-in.o: pie
$(Q) $(MAKE) $(call build-as,Makefile.crtools,.) all
criu: $(PROGRAM-BUILTINS) built-in.o
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment