1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 09:28:13 +00:00

build_protobuf: fix paths for protoc

This commit is contained in:
matejcik 2018-03-15 19:55:06 +01:00
parent 2375a8f516
commit e7a01b827b

2
tools/build_protobuf Normal file → Executable file
View File

@ -21,7 +21,7 @@ mkdir -p "$PB2_OUT"
for file in $PROTO_FILES; do
# Compile .proto files to python2 modules using google protobuf library
protoc --python_out="$PB2_OUT" -I"$PROTO_PATH" "$file.proto"
protoc --python_out="$PB2_OUT" -I/usr/include -I"$PROTO_PATH" "$PROTO_PATH/$file.proto"
done
for file in $PROTO_FILES; do