Skip to content

Commit 1583c63

Browse files
Merge pull request #755 from LedgerHQ/feat/apa/update_app_flags
Update app flags
2 parents 906bb16 + 44e344a commit 1583c63

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

Makefile

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,6 @@ PATH_APP_LOAD_PARAMS += "45'" "44'/1'"
103103
VARIANT_PARAM = CHAIN
104104
VARIANT_VALUES = $(SUPPORTED_CHAINS)
105105

106-
# Activate dependency only for specific CHAIN
107-
ifneq ($(CHAIN),ethereum)
108-
DEP_APP_LOAD_PARAMS = Ethereum:$(APPVERSION)
109-
DEFINES_LIB = USE_LIB_ETHEREUM
110-
endif
111-
112106
# Enabling DEBUG flag will enable PRINTF and disable optimizations
113107
#DEBUG = 1
114108

@@ -117,9 +111,16 @@ endif
117111
########################################
118112
# See SDK `include/appflags.h` for the purpose of each permission
119113
#HAVE_APPLICATION_FLAG_DERIVE_MASTER = 1
120-
HAVE_APPLICATION_FLAG_GLOBAL_PIN = 1
121-
HAVE_APPLICATION_FLAG_BOLOS_SETTINGS = 1
122-
HAVE_APPLICATION_FLAG_LIBRARY = 1
114+
#HAVE_APPLICATION_FLAG_GLOBAL_PIN = 1
115+
#HAVE_APPLICATION_FLAG_BOLOS_SETTINGS = 1
116+
ifeq ($(CHAIN),ethereum)
117+
HAVE_APPLICATION_FLAG_LIBRARY = 1
118+
else
119+
# Activate dependency only for specific CHAIN
120+
DEP_APP_LOAD_PARAMS = Ethereum:$(APPVERSION)
121+
DEFINES_LIB = USE_LIB_ETHEREUM
122+
endif
123+
123124

124125
########################################
125126
# Application communication interfaces #

0 commit comments

Comments
 (0)