Skip to content

Commit

Permalink
Merge pull request #225 from LedgerHQ/appsuffix
Browse files Browse the repository at this point in the history
Add APPVERSION_SUFFIX in Makefile
  • Loading branch information
bigspider authored Feb 7, 2024
2 parents 0dd6dad + 36f8f0b commit 34ba07a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@ PATH_SLIP21_APP_LOAD_PARAMS = "LEDGER-Wallet policy"
APPVERSION_M = 2
APPVERSION_N = 2
APPVERSION_P = 0
APPVERSION = "$(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)"
APPVERSION_SUFFIX = # if not empty, appended at the end. Do not add a dash.

ifeq ($(APPVERSION_SUFFIX),)
APPVERSION = "$(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)"
else
APPVERSION = "$(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)-$(strip $(APPVERSION_SUFFIX))"
endif

# Setting to allow building variant applications
VARIANT_PARAM = COIN
Expand Down

0 comments on commit 34ba07a

Please sign in to comment.