Skip to content

Commit

Permalink
Add ethereum-plugin-sdk submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
TamtamHero authored and pscott committed Jun 8, 2021
1 parent 4539f9d commit 11d5283
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "ethereum-plugin-sdk"]
path = ethereum-plugin-sdk
url = [email protected]:LedgerHQ/ethereum-plugin-sdk.git
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 1 addition & 0 deletions ethereum-plugin-sdk
Submodule ethereum-plugin-sdk added at b405ad

0 comments on commit 11d5283

Please sign in to comment.