566 #end |
566 #end |
567 if [ -n "$DISABLE_${feature.varName}" ]; then |
567 if [ -n "$DISABLE_${feature.varName}" ]; then |
568 unset ${feature.varName} |
568 unset ${feature.varName} |
569 fi |
569 fi |
570 fi |
570 fi |
|
571 if [ -n "${D}${feature.varName}" ]; then |
|
572 : |
|
573 #foreach( $def in $feature.defines ) |
|
574 TEMP_CFLAGS="$TEMP_CFLAGS ${def.toFlags()}" |
|
575 TEMP_CXXFLAGS="$TEMP_CXXFLAGS ${def.toFlags()}" |
|
576 #end |
|
577 #if( $feature.hasMake() ) |
|
578 cat >> "$TEMP_DIR/make.mk" << __EOF__ |
|
579 $feature.make |
|
580 __EOF__ |
|
581 #end |
|
582 fi |
571 #end |
583 #end |
572 |
584 |
573 #foreach( $opt in $target.options ) |
585 #foreach( $opt in $target.options ) |
574 # Option: --${opt.argument} |
586 # Option: --${opt.argument} |
575 if [ -z "${D}${opt.varName}" ]; then |
587 if [ -z "${D}${opt.varName}" ]; then |