46:096f3105b3b1 | 47:78ee95836412 |
---|---|
62 touch "$TEMP_DIR/features" | 62 touch "$TEMP_DIR/features" |
63 | 63 |
64 # features | 64 # features |
65 #foreach( $feature in $features ) | 65 #foreach( $feature in $features ) |
66 #if( ${feature.isDefault()} ) | 66 #if( ${feature.isDefault()} ) |
67 ${feature.getVarName()}=on | 67 ${feature.getVarName()}=auto |
68 #end | 68 #end |
69 #end | 69 #end |
70 | 70 |
71 # help text | 71 # help text |
72 printhelp() | 72 printhelp() |
527 if [ $? -ne 0 ]; then | 527 if [ $? -ne 0 ]; then |
528 # "auto" features can fail and are just disabled in this case | 528 # "auto" features can fail and are just disabled in this case |
529 if [ "$${feature.getVarName()}" != "auto" ]; then | 529 if [ "$${feature.getVarName()}" != "auto" ]; then |
530 DEPENDENCIES_FAILED="$DEPENDENCIES_FAILED ${dependency} " | 530 DEPENDENCIES_FAILED="$DEPENDENCIES_FAILED ${dependency} " |
531 ERROR=1 | 531 ERROR=1 |
532 else | |
533 unset ${feature.getVarName()} | |
532 fi | 534 fi |
533 fi | 535 fi |
534 #end | 536 #end |
535 fi | 537 fi |
536 #end | 538 #end |
606 echo " TOOLCHAIN: $TOOLCHAIN_NAME" | 608 echo " TOOLCHAIN: $TOOLCHAIN_NAME" |
607 #if ( $options.size() > 0 ) | 609 #if ( $options.size() > 0 ) |
608 echo "Options:" | 610 echo "Options:" |
609 cat "$TEMP_DIR/options" | 611 cat "$TEMP_DIR/options" |
610 #end | 612 #end |
613 #if ( $features.size() > 0 ) | |
614 echo "Features:" | |
615 #foreach( $feature in $features ) | |
616 if [ -n "$${feature.getVarName()}" ]; then | |
617 echo " $feature.name: on" | |
618 else | |
619 echo " $feature.name: off" | |
620 fi | |
621 #end | |
622 #end | |
611 echo | 623 echo |
612 cat "$TEMP_DIR/config.mk" "$TEMP_DIR/make.mk" > config.mk | 624 cat "$TEMP_DIR/config.mk" "$TEMP_DIR/make.mk" > config.mk |
613 rm -Rf "$TEMP_DIR" | 625 rm -Rf "$TEMP_DIR" |
614 | 626 |
615 | 627 |