2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-28 12:57:57 +00:00

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 <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Cyrill Gorcunov 2016-11-23 18:42:00 +03:00 committed by Andrei Vagin
parent 61769b466b
commit 0af11b421a
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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__ \