Commit 983ed43f authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Andrei Vagin

criu/Makefile: fix criu/arch/* rebuild

Problem: if we do

 touch criu/arch/x86/cpu.c

nothing is being rebuilt.

For detailed analisys, see the previous commit
("criu/Makefile: fix rebuilding criu/pie/pie.lib.a").

Note there are other targets in criu/Makefile where one
might want to add .FORCE to, but it's not needed as they
all depend on another target which itself is marked as .PHONY.

travis-ci: success for Makefiles: fix deps checking
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Reviewed-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 6e70d694
...@@ -44,7 +44,7 @@ include $(SRC_DIR)/criu/Makefile.packages ...@@ -44,7 +44,7 @@ include $(SRC_DIR)/criu/Makefile.packages
# #
# Architecture dependent part. # Architecture dependent part.
ARCH-LIB := $(ARCH_DIR)/crtools.built-in.o ARCH-LIB := $(ARCH_DIR)/crtools.built-in.o
$(ARCH-LIB): $(ARCH-LIB): .FORCE
$(Q) $(MAKE) $(build)=$(ARCH_DIR) all $(Q) $(MAKE) $(build)=$(ARCH_DIR) all
# #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment