summaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-11-30 09:26:19 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-11-30 09:26:19 +0100
commit5c8ed6e30266a05f521da427c548395105a59c2d (patch)
tree52b6a57637559505492325927e497fdad3af3c98 /src/app
parentfd34ebda2f2d2858b5f0fe96feae53ae6a2c268f (diff)
prototest: nanopb: debugging
Diffstat (limited to 'src/app')
-rw-r--r--src/app/prototest/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/prototest/Makefile.inc b/src/app/prototest/Makefile.inc
index ac66399..7acd589 100644
--- a/src/app/prototest/Makefile.inc
+++ b/src/app/prototest/Makefile.inc
@@ -72,6 +72,7 @@ endif
%.pb.cc: %.proto
${QUIET}protoc --plugin=protoc-gen-nanopb=${HOME}/var/ess/protocol-modeling/nanopb/generator/protoc-gen-nanopb --nanopb_out=. src/app/prototest/nanopbbench.proto
${QUIET}mv src/app/prototest/nanopbbench.pb.c src/app/prototest/nanopbbench.pb.cc
+ ${QUIET}cp src/app/prototest/nanopbbench.pb.cc /tmp
${QUIET}sed -i 's!src/app/prototest/!!' src/app/prototest/nanopbbench.pb.cc
${QUIET}sed -i 's!\#include "src/app/prototest/nanopb.pb.h"!!' src/app/prototest/nanopbbench.pb.h