summaryrefslogtreecommitdiffstats
path: root/tests/site_scons/site_tools/nanopb.py
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2016-05-25 17:58:01 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2016-05-25 18:05:05 +0300
commit70699f3b0354fc717270c5a614ed65d9a60341f2 (patch)
tree8ad559f6621c80af3857ee2b82b16ceb57140966 /tests/site_scons/site_tools/nanopb.py
parentbe903082acfc24ee523314e323e7c6c13e53c9f3 (diff)
Add testcase for issue #203
Diffstat (limited to 'tests/site_scons/site_tools/nanopb.py')
-rw-r--r--tests/site_scons/site_tools/nanopb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/site_scons/site_tools/nanopb.py b/tests/site_scons/site_tools/nanopb.py
index b3e58fa1..c72a45d3 100644
--- a/tests/site_scons/site_tools/nanopb.py
+++ b/tests/site_scons/site_tools/nanopb.py
@@ -118,7 +118,7 @@ def generate(env):
env.SetDefault(PROTOCPATH = ['.', os.path.join(env['NANOPB'], 'generator', 'proto')])
- env.SetDefault(NANOPB_PROTO_CMD = '$PROTOC $PROTOC_OPTS --nanopb_out=. $SOURCE')
+ env.SetDefault(NANOPB_PROTO_CMD = '$PROTOC $PROTOCFLAGS --nanopb_out=. $SOURCES')
env['BUILDERS']['NanopbProto'] = _nanopb_proto_builder
def exists(env):