mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-10 15:30:55 +00:00
Merge pull request #345 from saleemrashid/nem-cleanup
Use symlink to trezor-common for nem_mosaics.json
This commit is contained in:
commit
d7ccc74de4
@ -120,5 +120,5 @@ clean::
|
||||
endef
|
||||
|
||||
$(eval $(call GENERATE_CODE,coin_info,coins.json,coin_info.c))
|
||||
$(eval $(call GENERATE_CODE,nem_mosaics,../vendor/trezor-common/defs/nem/nem_mosaics.json,nem_mosaics.c))
|
||||
$(eval $(call GENERATE_CODE,nem_mosaics,nem_mosaics.json,nem_mosaics.c))
|
||||
$(eval $(call GENERATE_CODE,bl_data,../bootloader/bootloader.bin))
|
||||
|
1
firmware/nem_mosaics.json
Symbolic link
1
firmware/nem_mosaics.json
Symbolic link
@ -0,0 +1 @@
|
||||
../vendor/trezor-common/defs/nem/nem_mosaics.json
|
@ -109,7 +109,7 @@ if __name__ == "__main__":
|
||||
sys.path.insert(0, "protob")
|
||||
import types_pb2 as types
|
||||
|
||||
messages = json.load(open("../vendor/trezor-common/defs/nem/nem_mosaics.json"))
|
||||
messages = json.load(open("nem_mosaics.json"))
|
||||
|
||||
with open("nem_mosaics.h", "w+") as f:
|
||||
f.write(HEADER_TEMPLATE.format(
|
||||
|
Loading…
Reference in New Issue
Block a user