Add ethereum-plugin-sdk submodule

This commit is contained in:
TamtamHero
2021-04-16 13:08:52 +02:00
committed by pscott
parent 4539f9d933
commit 11d52836f8
3 changed files with 11 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "ethereum-plugin-sdk"]
path = ethereum-plugin-sdk
url = git@github.com:LedgerHQ/ethereum-plugin-sdk.git

View File

@@ -325,6 +325,13 @@ ifeq ($(TARGET_NAME),TARGET_NANOX)
SDK_SOURCE_PATH += lib_blewbxx lib_blewbxx_impl
endif
### initialize plugin SDK submodule if needed, and rebuild it
ifneq ($(shell git submodule status | grep '^[-+]'),)
$(info INFO: Need to reinitialize git submodules)
$(shell git submodule update --init)
endif
$(shell python3 ethereum-plugin-sdk/build_sdk.py)
load: all
python3 -m ledgerblue.loadApp $(APP_LOAD_PARAMS)

1
ethereum-plugin-sdk Submodule

Submodule ethereum-plugin-sdk added at b405ade018