From 0af11b421abb15ee70dfcf5728416aa9b05bf79d Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Wed, 23 Nov 2016 18:42:00 +0300 Subject: [PATCH] compel: Rename 'piegen' action into 'hgen' Where hgen stands for "header generator". travis-ci: success for compel: Rename 'piegen' action into 'hgen' Signed-off-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov Signed-off-by: Andrei Vagin --- compel/src/main.c | 4 ++-- criu/pie/Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compel/src/main.c b/compel/src/main.c index 643b6a96c..b9d02d718 100644 --- a/compel/src/main.c +++ b/compel/src/main.c @@ -212,7 +212,7 @@ int main(int argc, char *argv[]) return 0; } - if (!strcmp(action, "piegen")) { + if (!strcmp(action, "hgen")) { if (!opts.input_filename) goto usage; compel_log_init(&cli_log, log_level); @@ -223,6 +223,6 @@ usage: printf("Usage:\n"); printf(" compel --arch=(x86|ia32|aarch64|arm|ppc64) cflags\n"); printf(" compel --arch=(x86|ia32|aarch64|arm|ppc64) ldflags\n"); - printf(" compel -f filename piegen\n"); + printf(" compel -f filename hgen\n"); return 1; } diff --git a/criu/pie/Makefile b/criu/pie/Makefile index cec463281..32b73b1f8 100644 --- a/criu/pie/Makefile +++ b/criu/pie/Makefile @@ -124,7 +124,7 @@ $(eval $(call map,gen-rule-built-in.bin.o,$(parasite_target))) $(obj)/%-blob.h: $(obj)/%.built-in.bin.o $(SRC_DIR)/compel/compel-host $(call msg-gen, $@) - $(Q) $(SRC_DIR)/compel/compel-host piegen -f $< \ + $(Q) $(SRC_DIR)/compel/compel-host hgen -f $< \ -l 4 \ -v $(call target-name,$@)_relocs \ -p $(call target-name,$@)_blob_offset__ \