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:
parent
ba5919282c
commit
a56f0cf16a
2
Makefile
2
Makefile
@ -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
|
||||
|
||||
|
@ -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, $@)
|
||||
|
Loading…
x
Reference in New Issue
Block a user