mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
images/Makefile: use msg-gen
In general, we use "$(E)" instead of "$(Q) echo", but we also have a msg-gen macro which can be used here. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
parent
066bf7bf3c
commit
22c83e3eba
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ makefile-deps := Makefile $(obj)/Makefile
|
||||||
DESCRIPTOR_DIR := images/google/protobuf
|
DESCRIPTOR_DIR := images/google/protobuf
|
||||||
GOOGLE_INCLUDE=$(shell pkg-config protobuf --variable=includedir)/google/protobuf
|
GOOGLE_INCLUDE=$(shell pkg-config protobuf --variable=includedir)/google/protobuf
|
||||||
$(DESCRIPTOR_DIR)/descriptor.pb-c.c: $(GOOGLE_INCLUDE)/descriptor.proto
|
$(DESCRIPTOR_DIR)/descriptor.pb-c.c: $(GOOGLE_INCLUDE)/descriptor.proto
|
||||||
$(Q) echo "Generating descriptor.pb-c.c"
|
$(call msg-gen, $@)
|
||||||
$(Q) protoc --proto_path=/usr/include --proto_path=$(obj)/ --c_out=$(obj)/ $<
|
$(Q) protoc --proto_path=/usr/include --proto_path=$(obj)/ --c_out=$(obj)/ $<
|
||||||
|
|
||||||
cleanup-y += $(DESCRIPTOR_DIR)/descriptor.pb-c.d
|
cleanup-y += $(DESCRIPTOR_DIR)/descriptor.pb-c.d
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue