mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-23 18:37:50 +00:00
build: Fix criu executable building
Otherwise linking may be executed twice as a forced target. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
parent
054d451866
commit
496b51b64a
12
Makefile
12
Makefile
@ -116,22 +116,20 @@ PHONY += images
|
|||||||
# the nmk so we can reuse it there.
|
# the nmk so we can reuse it there.
|
||||||
criu/%: images/built-in.o
|
criu/%: images/built-in.o
|
||||||
$(Q) $(MAKE) -C criu $@
|
$(Q) $(MAKE) -C criu $@
|
||||||
criu: images/built-in.o
|
criu/criu: images/built-in.o
|
||||||
$(Q) $(MAKE) -C criu all
|
$(Q) $(MAKE) -C criu criu
|
||||||
criu/criu: criu
|
|
||||||
PHONY += criu
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Libraries next once criu it ready
|
# Libraries next once criu it ready
|
||||||
# (we might generate headers and such
|
# (we might generate headers and such
|
||||||
# when building criu itself).
|
# when building criu itself).
|
||||||
lib/%: criu
|
lib/%: criu/criu
|
||||||
$(Q) $(MAKE) -C lib $@
|
$(Q) $(MAKE) -C lib $@
|
||||||
lib: criu
|
lib: criu/criu
|
||||||
$(Q) $(MAKE) -C lib all
|
$(Q) $(MAKE) -C lib all
|
||||||
PHONY += lib
|
PHONY += lib
|
||||||
|
|
||||||
all: criu lib
|
all: criu/criu lib
|
||||||
PHONY += all
|
PHONY += all
|
||||||
|
|
||||||
clean-built:
|
clean-built:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user