summaryrefslogtreecommitdiffstats
path: root/tests/common
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-11-23 11:04:12 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2013-12-29 20:26:58 +0200
commit1fc90ab4c4731ab521ee7f6b4f1f936f76520e2e (patch)
tree4d710c7fc45c3a7a3c71357491d54fbd8a096690 /tests/common
parent440a53f85965f35cd7bc401ef7e3fb9c4dfd1390 (diff)
Add a SCons tool for nanopb protos.
This tool script is useful both for building the tests and also for use in other applications.
Diffstat (limited to 'tests/common')
-rw-r--r--tests/common/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/common/SConscript b/tests/common/SConscript
index 8130c85a..144f1490 100644
--- a/tests/common/SConscript
+++ b/tests/common/SConscript
@@ -12,6 +12,6 @@ env.NanopbProto("person")
# These are built using more strict warning flags.
strict = env.Clone()
strict.Append(CFLAGS = strict['CORECFLAGS'])
-strict.Object("pb_decode.o", "#../pb_decode.c")
-strict.Object("pb_encode.o", "#../pb_encode.c")
+strict.Object("pb_decode.o", "$NANOPB/pb_decode.c")
+strict.Object("pb_encode.o", "$NANOPB/pb_encode.c")