Commit 496b51b6 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

build: Fix criu executable building

Otherwise linking may be executed twice
as a forced target.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 054d4518
......@@ -116,22 +116,20 @@ PHONY += images
# the nmk so we can reuse it there.
criu/%: images/built-in.o
$(Q) $(MAKE) -C criu $@
criu: images/built-in.o
$(Q) $(MAKE) -C criu all
criu/criu: criu
PHONY += criu
criu/criu: images/built-in.o
$(Q) $(MAKE) -C criu criu
#
# Libraries next once criu it ready
# (we might generate headers and such
# when building criu itself).
lib/%: criu
lib/%: criu/criu
$(Q) $(MAKE) -C lib $@
lib: criu
lib: criu/criu
$(Q) $(MAKE) -C lib all
PHONY += lib
all: criu lib
all: criu/criu lib
PHONY += all
clean-built:
......
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