mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-14 03:30:02 +00:00
travis: fix build for old protobuf
This commit is contained in:
parent
8a6dd3c764
commit
4b8ac90d10
@ -27,6 +27,7 @@ script:
|
||||
- make
|
||||
- make -C bootloader
|
||||
- make -C fastflash
|
||||
- sed -i '/, deprecated = true/d' firmware/protob/messages.proto # protobuf 2.5 compatibility :-/
|
||||
- make -C firmware/protob
|
||||
- make -C firmware
|
||||
- make -C demo
|
||||
|
@ -25,7 +25,7 @@ def handle_message(message, extension):
|
||||
bootloader = options.Extensions[wire_bootloader]
|
||||
tiny = options.Extensions[wire_tiny] and direction == "i"
|
||||
|
||||
if options.deprecated:
|
||||
if getattr(options, 'deprecated', None):
|
||||
return '\t// Message %s is deprecated' % short_name
|
||||
if bootloader:
|
||||
return '\t// Message %s is used in bootloader mode only' % short_name
|
||||
|
Loading…
Reference in New Issue
Block a user