mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
pkg: like plugins now try to error on missing replacements
This commit is contained in:
parent
28fa452a47
commit
aa0affc7e7
8
Makefile
8
Makefile
@ -33,9 +33,11 @@ CORE_NICKNAME?= Not Yet
|
||||
CORE_NAME?= opnsense-devel
|
||||
CORE_TYPE?= development
|
||||
|
||||
CORE_ABI?= 21.1
|
||||
CORE_PHP?= 74
|
||||
CORE_PYTHON?= 37
|
||||
.for REPLACEMENT in ABI PHP PYTHON
|
||||
. if empty(CORE_${REPLACEMENT})
|
||||
. error Cannot build without CORE_${REPLACEMENT} set
|
||||
. endif
|
||||
.endfor
|
||||
|
||||
_CORE_NEXT= ${CORE_ABI:C/\./ /}
|
||||
.if ${_CORE_NEXT:[2]} == 7
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user