Renamed CAL_TEST_KEY to CAL_STAGING_KEY & CAL_CI_KEY to CAL_TEST_KEY

This commit is contained in:
Alexandre Paillier
2023-08-16 10:37:41 +02:00
parent 72c19e0222
commit e0ea3697f6
3 changed files with 18 additions and 16 deletions

View File

@@ -169,12 +169,18 @@ endif
# CryptoAssetsList key
CAL_TEST_KEY:=0
CAL_CI_KEY:=0
ifneq ($(CAL_TEST_KEY),0)
DEFINES += HAVE_CAL_TEST_KEY
DEFINES += HAVE_CAL_TEST_KEY
endif
ifneq ($(CAL_CI_KEY),0)
DEFINES += HAVE_CAL_CI_KEY
CAL_STAGING_KEY:=0
ifneq ($(CAL_STAGING_KEY),0)
# Key used by the staging CAL
DEFINES += HAVE_CAL_STAGING_KEY
endif
ifneq (,$(filter $(DEFINES),HAVE_CAL_TEST_KEY))
ifneq (, $(filter $(DEFINES),HAVE_CAL_STAGING_KEY))
$(error Multiple alternative CAL keys set at once)
endif
endif
# ENS