Add support for dependent options
Reviewed by: imp
This commit is contained in:
parent
d19d4db4e2
commit
0d3ee8cc3b
@ -70,3 +70,16 @@ MK_${var}:= no
|
||||
.for var in ${BROKEN_OPTIONS}
|
||||
MK_${var}:= no
|
||||
.endfor
|
||||
|
||||
.for vv in ${__DEFAULT_DEPENDENT_OPTIONS}
|
||||
.if defined(WITH_${vv:H}) && defined(WITHOUT_${vv:H})
|
||||
MK_${vv:H}?= no
|
||||
.elif defined(WITH_${vv:H})
|
||||
MK_${vv:H}?= yes
|
||||
.elif defined(WITHOUT_${vv:H})
|
||||
MK_${vv:H}?= no
|
||||
.else
|
||||
MK_${vv:H}?= ${MK_${vv:T}}
|
||||
.endif
|
||||
.endfor
|
||||
.undef __DEFAULT_DEPENDENT_OPTIONS
|
||||
|
Loading…
Reference in New Issue
Block a user