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:
parent
848051efcf
commit
a978290d50
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user