mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
build_protobuf: fix paths for protoc
This commit is contained in:
parent
2375a8f516
commit
e7a01b827b
2
tools/build_protobuf
Normal file → Executable file
2
tools/build_protobuf
Normal file → Executable 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
|
||||
|
Loading…
Reference in New Issue
Block a user