[CRIU] [PATCH 5/6] Makefile: *-BLOB-GEN: use target name
Kir Kolyshkin
kir at openvz.org
Tue Feb 21 17:09:16 EST 2012
No need to hardcode it.
Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
Makefile | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 2538f81..23de231 100644
--- a/Makefile
+++ b/Makefile
@@ -89,8 +89,7 @@ $(HEAD-BIN): $(HEAD-LDS) $(OBJS-BLOB) parasite-util-net.o
$(HEAD-BLOB-GEN): $(HEAD-BIN) $(GEN-OFFSETS)
$(E) " GEN " $@
- $(Q) $(SH) $(GEN-OFFSETS) parasite \
- > parasite-blob.h
+ $(Q) $(SH) $(GEN-OFFSETS) parasite > $@
$(Q) sync
$(ROBJS): $(RSRCS-BLOB)
@@ -103,8 +102,7 @@ $(RHEAD-BIN): $(ROBJS) $(RHEAD-LDS)
$(RHEAD-BLOB-GEN): $(RHEAD-BIN) $(GEN-OFFSETS)
$(E) " GEN " $@
- $(Q) $(SH) $(GEN-OFFSETS) restorer \
- > restorer-blob.h
+ $(Q) $(SH) $(GEN-OFFSETS) restorer > $@
$(Q) sync
%.o: %.c
--
1.7.7.6
More information about the CRIU
mailing list