Lines 98-103
Link Here
|
98 |
# ${opt}_QMAKE_OFF When option is disabled, it will add its content to |
98 |
# ${opt}_QMAKE_OFF When option is disabled, it will add its content to |
99 |
# the QMAKE_ARGS. |
99 |
# the QMAKE_ARGS. |
100 |
# |
100 |
# |
|
|
101 |
# ${opt}_IMPLIES When option is enabled, options named in its contents will |
102 |
# be enabled too |
103 |
# ${opt}_PRECLUDES When option is enabled, enabling any of the options |
104 |
# in its content will produce an error |
101 |
# ${opt}_USE= FOO=bar When option is enabled, it will enable |
105 |
# ${opt}_USE= FOO=bar When option is enabled, it will enable |
102 |
# USE_FOO+= bar |
106 |
# USE_FOO+= bar |
103 |
# If you need more than one option, you can do |
107 |
# If you need more than one option, you can do |
Lines 386-391
Link Here
|
386 |
NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} |
390 |
NEW_OPTIONS:= ${NEW_OPTIONS:N${opt}} |
387 |
.endfor |
391 |
.endfor |
388 |
|
392 |
|
|
|
393 |
# Enable options implied by other options |
394 |
.for opt in ${PORT_OPTIONS} |
395 |
PORT_OPTIONS+= ${${opt}_IMPLIES} |
396 |
.endfor |
397 |
|
398 |
# Prevent options that conflict |
399 |
.for opt in ${PORT_OPTIONS} |
400 |
. for conflict in ${${opt}_PRECLUDES} |
401 |
. if ${PORT_OPTIONS:M${conflict}} |
402 |
IGNORE= Option ${opt} conflicts with option ${conflict} |
403 |
. endif |
404 |
. endfor |
405 |
.endfor |
406 |
|
389 |
# Finally, add options required by slave ports |
407 |
# Finally, add options required by slave ports |
390 |
PORT_OPTIONS+= ${OPTIONS_SLAVE} |
408 |
PORT_OPTIONS+= ${OPTIONS_SLAVE} |
391 |
|
409 |
|