Add support for dependent options
Reviewed by: imp
This commit is contained in:
parent
be771cda12
commit
d800e67729
@ -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