mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +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 changed files with 2 additions and 2 deletions
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…
Add table
Add a link
Reference in a new issue