Add ethereum-plugin-sdk submodule
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "ethereum-plugin-sdk"]
|
||||
path = ethereum-plugin-sdk
|
||||
url = git@github.com:LedgerHQ/ethereum-plugin-sdk.git
|
||||
7
Makefile
7
Makefile
@@ -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
1
ethereum-plugin-sdk
Submodule
Submodule ethereum-plugin-sdk added at b405ade018
Reference in New Issue
Block a user