Now non-LNS devices only have one full OpenPGP app

This commit is contained in:
Alexandre Paillier 2023-02-16 18:21:01 +01:00 committed by Charles-Edouard de la Vergne
parent 7f6abae529
commit 719d5d2a62
No known key found for this signature in database
GPG Key ID: F12296941B7BB9C6

View File

@ -26,8 +26,13 @@ APP_LOAD_PARAMS=--appFlags 0x240 --path "2152157255'" --curve secp256k1 $(COMMON
ifeq ($(APPNAME),)
APPNAME = OpenPGP
endif
ifeq ($(APPNAME),OpenPGP)
ifeq ($(TARGET_NAME),TARGET_NANOS)
GPG_MULTISLOT:=0
else
GPG_MULTISLOT:=1
endif
else ifeq ($(APPNAME),OpenPGP.XL)
GPG_MULTISLOT:=1
APPNAME:=OpenPGP.XL
@ -78,8 +83,14 @@ all: default
cp -a debug/app.map release/$(APPNAME).map
ifeq ($(TARGET_NAME),TARGET_NANOS)
VARIANTS = OpenPGP OpenPGP.XL
else
VARIANTS = OpenPGP
endif
listvariants:
@echo VARIANTS APPNAME OpenPGP OpenPGP.XL
@echo VARIANTS APPNAME $(VARIANTS)
allvariants:
make MULTISLOT=0 clean all