Merge pull request #532 from LedgerHQ/xch/plugin-sdk-remove-ui-disabler

standard_plugin.mk: Remove DISABLE_UI
This commit is contained in:
xchapron-ledger
2024-02-07 11:03:43 +01:00
committed by GitHub
2 changed files with 7 additions and 17 deletions

View File

@@ -5,7 +5,13 @@
| :rotating_light: | Breaks build |
| :warning: | Breaks compatibility with app |
## [latest](/) - 2024/02/02
## [latest](/) - 2024/02/07
### Removed
* UI disabler
## [2250549](/../../commit/2250549) - 2024/02/02
### Changed

View File

@@ -19,10 +19,6 @@ ifeq ($(BOLOS_SDK),)
$(error Environment variable BOLOS_SDK is not set)
endif
# Prevent compilation of BAGL/NBGL
# Has to be before any SDK include
DISABLE_UI = 1
include $(BOLOS_SDK)/Makefile.defines
APPVERSION ?= "$(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)"
@@ -60,16 +56,4 @@ DISABLE_STANDARD_BAGL_UX_FLOW = 1
DISABLE_DEBUG_LEDGER_ASSERT = 1
DISABLE_DEBUG_THROW = 1
# Required for PRINTFs to compile
ifeq ($(DEBUG),0)
DISABLE_STANDARD_SEPROXYHAL = 1
endif
# So the plugin can still access the necessary NBGL types and pass its icon to
# the Ethereum app
ifeq ($(TARGET_NAME),TARGET_STAX)
DEFINES += HAVE_NBGL
INCLUDES_PATH += $(BOLOS_SDK)/lib_nbgl/include $(BOLOS_SDK)/lib_ux_stax
endif
include $(BOLOS_SDK)/Makefile.standard_app