1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-26 16:18:22 +00:00

legacy: detect CALLBACK fields and fail build when found

This commit is contained in:
Pavol Rusnak 2019-06-24 15:23:14 +02:00
parent 848051efcf
commit a978290d50
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -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"