Lines Matching refs:protoc
21 # Make the nanopb generator available as a protoc plugin
22 cp $DEST/generator/nanopb_generator.py $DEST/generator/protoc-gen-nanopb.py
25 ( cd $DEST/generator; bbfreeze nanopb_generator.py protoc-gen-nanopb.py )
29 rm $DEST/generator/protoc-gen-nanopb.py
31 # Package the protoc compiler
32 cp `which protoc` $DEST/generator-bin/protoc.bin
33 LIBPROTOC=$(ldd `which protoc` | grep -o '/.*libprotoc[^ ]*')
35 cat > $DEST/generator-bin/protoc << EOF
40 exec "\$SCRIPTDIR/protoc.bin" "\$@"
42 chmod +x $DEST/generator-bin/protoc