[CRIU] [PATCH 20/24] criu/pie/Makefile: a nitpick

Kir Kolyshkin kir at openvz.org
Sat Dec 17 03:22:13 PST 2016


Since commit 656710e the list of prerequisites are the same
as the list of objects, so we can use $^ to avoid repetition.

Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 criu/pie/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/pie/Makefile b/criu/pie/Makefile
index 96647c8..925729c 100644
--- a/criu/pie/Makefile
+++ b/criu/pie/Makefile
@@ -55,7 +55,7 @@ $(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
 	$(call msg-gen, $@)
-	$(Q) $(LD) $(shell $(COMPEL_BIN) ldflags) -o $@ $< $(obj)/pie.lib.a
+	$(Q) $(LD) $(shell $(COMPEL_BIN) ldflags) -o $@ $^
 
 $(obj)/%-blob.h: $(obj)/%.built-in.bin.o $(SRC_DIR)/compel/compel-host-bin
 	$(call msg-gen, $@)
-- 
2.7.4



More information about the CRIU mailing list