mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 09:58:09 +00:00
compel: Make sure the hostprog is built early
The host compel-host-bin must be built before criu, same time the criu itself should not depend on libcompel or plugins because they are the part of the compel package. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
3c044783af
commit
f5c427116d
@ -27,8 +27,6 @@ compel-plugins += compel/plugins/std.lib.a compel/plugins/fds.lib.a
|
||||
LIBCOMPEL_SO := libcompel.so
|
||||
LIBCOMPEL_A := libcompel.a
|
||||
export LIBCOMPEL_SO LIBCOMPEL_A
|
||||
criu-deps += compel/$(LIBCOMPEL_A)
|
||||
criu-deps += $(compel-plugins)
|
||||
|
||||
#
|
||||
# Compel itself.
|
||||
@ -38,6 +36,12 @@ compel/%: $(compel-deps) $(compel-plugins) .FORCE
|
||||
|
||||
criu-deps += compel/compel-host-bin
|
||||
|
||||
#
|
||||
# Make sure the host program is ready after the
|
||||
# library and plugins are built.
|
||||
compel/compel-host-bin: | compel/$(LIBCOMPEL_A) $(compel-plugins)
|
||||
$(COMPEL_BIN): compel/compel-host-bin
|
||||
|
||||
#
|
||||
# Plugins
|
||||
compel/plugins/Makefile: ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user