Mk/bsd.options.mk: add possibility set default options for other (not defined in port) arches
New port option OPTIONS_DEFAULT_OTHER_ARCHS. Examples are at review. Approved by: arrowd (portmgr, mentor) Differential Revision: https://reviews.freebsd.org/D44228
This commit is contained in:
parent
1c9739605b
commit
cab93d2304
|
@ -219,7 +219,11 @@ OPTIONS_DEFINE+= ${opt}
|
|||
. endfor
|
||||
|
||||
# Add per arch defaults
|
||||
. if defined(OPTIONS_DEFAULT_${ARCH})
|
||||
OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${ARCH}}
|
||||
. else
|
||||
OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_OTHER_ARCHS}
|
||||
. endif
|
||||
|
||||
_ALL_EXCLUDE= ${OPTIONS_EXCLUDE_${ARCH}} ${OPTIONS_EXCLUDE} \
|
||||
${OPTIONS_SLAVE} ${OPTIONS_EXCLUDE_${OPSYS}} \
|
||||
|
|
Loading…
Reference in New Issue