2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 13:58:34 +00:00

make: Fixup dependency on config.h after pulling patches from -dev

In -dev branch the deps scheme is different as we have soccr and
compel bits there, so in master the criu vs piegen vs config
deps should look differently.

Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
Pavel Emelyanov 2016-11-02 20:35:39 +03:00
parent ba5919282c
commit a56f0cf16a
2 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ $(eval $(call gen-built-in,images))
# the nmk so we can reuse it there.
criu/%: images/built-in.o $(VERSION_HEADER) .FORCE
$(Q) $(MAKE) $(build)=criu $@
criu: images/built-in.o $(VERSION_HEADER)
criu: images/built-in.o $(VERSION_HEADER) $(CONFIG_HEADER)
$(Q) $(MAKE) $(build)=criu all
.PHONY: criu

View File

@ -50,7 +50,7 @@ $(ARCH-LIB): syscalls_lib
ifeq ($(piegen-y),y)
piegen-bin := criu/pie/piegen/piegen
criu/pie/piegen/%: config
criu/pie/piegen/%: $(CONFIG_HEADER)
$(Q) CC=$(HOSTCC) LD=$(HOSTLD) CFLAGS="$(ccflags-y) $(HOSTCFLAGS) $(WARNINGS) $(DEFINES)" $(MAKE) $(build)=criu/pie/piegen $@
$(piegen-bin): criu/pie/piegen/built-in.o
$(call msg-link, $@)