Framework: demote errors to warnings

This commit is contained in:
Franco Fichtner 2021-07-21 10:52:03 +02:00
parent da4743e2e9
commit 72d35cb714
1 changed files with 7 additions and 7 deletions

View File

@ -72,16 +72,16 @@ _PLUGIN_PYTHON!=${PYTHONLINK} -V
PLUGIN_PYTHON?= ${_PLUGIN_PYTHON:[2]:S/./ /g:[1..2]:tW:S/ //}
.endif
.if empty(DEVABI)
. for REPLACEMENT in ABI PHP PYTHON
. if empty(PLUGIN_${REPLACEMENT})
. error Cannot build without PLUGIN_${REPLACEMENT} set
. endif
. endfor
.else
.if !empty(DEVABI)
PLUGIN_ABI= ${DEVABI}
.endif
.for REPLACEMENT in ABI PHP PYTHON
. if empty(PLUGIN_${REPLACEMENT})
. warning Cannot build without PLUGIN_${REPLACEMENT} set
. endif
.endfor
REPLACEMENTS= PLUGIN_ABI \
PLUGIN_ARCH \
PLUGIN_FLAVOUR \