2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00

make: regenerate blobs on linker script (lds) change

travis-ci: success for make: regenerate blobs on linker script (lds) change
Signed-off-by: Dmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Dmitry Safonov
2017-01-27 17:11:00 +03:00
committed by Andrei Vagin
parent 95817e952e
commit 253f53ac8a

View File

@@ -45,6 +45,7 @@ endif
asflags-y += -D__ASSEMBLY__
BLOBS += $(obj)/restorer-blob.h $(obj)/parasite-blob.h
LDS := $(SRC_DIR)/compel/arch/$(SRCARCH)/scripts/compel-pack.lds.S
.SECONDARY:
@@ -52,7 +53,7 @@ target-name = $(patsubst criu/pie/%-blob.h,%,$(1))
$(obj)/restorer.built-in.o: $(compel_std)
$(obj)/parasite.built-in.o: $(compel_std)
$(obj)/%.built-in.bin.o: $(obj)/%.built-in.o $(obj)/pie.lib.a
$(obj)/%.built-in.bin.o: $(obj)/%.built-in.o $(obj)/pie.lib.a $(LDS)
$(call msg-gen, $@)
$(Q) $(LD) $(shell $(COMPEL_BIN) ldflags) -o $@ $^