578 if [ $? -ne 0 ]; then |
578 if [ $? -ne 0 ]; then |
579 # "auto" features can fail and are just disabled in this case |
579 # "auto" features can fail and are just disabled in this case |
580 if [ "$FEATURE_DB" != "auto" ]; then |
580 if [ "$FEATURE_DB" != "auto" ]; then |
581 DEPENDENCIES_FAILED="$DEPENDENCIES_FAILED sqlite " |
581 DEPENDENCIES_FAILED="$DEPENDENCIES_FAILED sqlite " |
582 ERROR=1 |
582 ERROR=1 |
|
583 else |
|
584 unset FEATURE_DB |
583 fi |
585 fi |
584 fi |
586 fi |
585 fi |
587 fi |
586 if [ -n "$FEATURE_GUI" ]; then |
588 if [ -n "$FEATURE_GUI" ]; then |
587 # check dependency |
589 # check dependency |
708 echo "Build Config:" |
712 echo "Build Config:" |
709 echo " PREFIX: $PREFIX" |
713 echo " PREFIX: $PREFIX" |
710 echo " TOOLCHAIN: $TOOLCHAIN_NAME" |
714 echo " TOOLCHAIN: $TOOLCHAIN_NAME" |
711 echo "Options:" |
715 echo "Options:" |
712 cat "$TEMP_DIR/options" |
716 cat "$TEMP_DIR/options" |
|
717 echo "Features:" |
|
718 if [ -n "$FEATURE_DB" ]; then |
|
719 echo " db: on" |
|
720 else |
|
721 echo " db: off" |
|
722 fi |
|
723 if [ -n "$FEATURE_GUI" ]; then |
|
724 echo " gui: on" |
|
725 else |
|
726 echo " gui: off" |
|
727 fi |
713 echo |
728 echo |
714 cat "$TEMP_DIR/config.mk" "$TEMP_DIR/make.mk" > config.mk |
729 cat "$TEMP_DIR/config.mk" "$TEMP_DIR/make.mk" > config.mk |
715 rm -Rf "$TEMP_DIR" |
730 rm -Rf "$TEMP_DIR" |
716 |
731 |
717 |
732 |