diff --git a/legacy/firmware/protob/Makefile b/legacy/firmware/protob/Makefile index 26bc23eef3..da8de83034 100644 --- a/legacy/firmware/protob/Makefile +++ b/legacy/firmware/protob/Makefile @@ -18,6 +18,7 @@ PYTHON ?= python -L '#include "%s"' \ -T \ -s "mangle_names:M_FLATTEN" + @grep CALLBACK $@ && echo "CALLBACK field found" && rm $@ && exit 1 || : %.pb: %.proto @printf " PROTOC $@\n"