Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #52 from LedgerHQ/develop
Browse files Browse the repository at this point in the history
Integrate last develop change to fix build issues with new SDK
  • Loading branch information
xchapron-ledger authored Feb 15, 2023
2 parents 218cff2 + 1066f40 commit 40a8a0b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
bin
debug
/dep
obj
src/u2f_crypto_data.h
src/glyphs.h
src/glyphs.c
build
src/delegates.h

#ide
Expand Down
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,15 @@ delete:
# import generic rules from the sdk
include $(BOLOS_SDK)/Makefile.rules

#add dependency on custom makefile filename
dep/%.d: %.c Makefile

listvariants:
@echo VARIANTS APP tezos_wallet tezos_baking

# Define DEP_DIR to keep compatibility with old SDK
ifeq ($(DEP_DIR),)
DEP_DIR := dep
endif

# Generate delegates from baker list
src/delegates.h: tools/gen-delegates.sh tools/BakersRegistryCoreUnfilteredData.json
bash ./tools/gen-delegates.sh ./tools/BakersRegistryCoreUnfilteredData.json
dep/to_string.d: src/delegates.h
$(DEP_DIR)/to_string.d: src/delegates.h

0 comments on commit 40a8a0b

Please sign in to comment.