640 echo " pg: off" |
640 echo " pg: off" |
641 fi |
641 fi |
642 echo |
642 echo |
643 |
643 |
644 # generate the config.mk file |
644 # generate the config.mk file |
|
645 pwd=`pwd` |
645 cat > "$TEMP_DIR/config.mk" << __EOF__ |
646 cat > "$TEMP_DIR/config.mk" << __EOF__ |
646 # |
647 # |
647 # config.mk generated by configure |
648 # config.mk generated by: |
|
649 # pwd: $pwd |
|
650 # cmd: $0 $@ |
648 # |
651 # |
649 |
652 |
650 __EOF__ |
653 __EOF__ |
651 write_toolchain_defaults "$TEMP_DIR/toolchain.mk" |
654 write_toolchain_defaults "$TEMP_DIR/toolchain.mk" |
652 cat "$TEMP_DIR/vars.mk" "$TEMP_DIR/toolchain.mk" "$TEMP_DIR/flags.mk" "$TEMP_DIR/make.mk" > config.mk |
655 cat "$TEMP_DIR/config.mk" "$TEMP_DIR/vars.mk" "$TEMP_DIR/toolchain.mk" "$TEMP_DIR/flags.mk" "$TEMP_DIR/make.mk" > config.mk |
653 rm -Rf "$TEMP_DIR" |
656 rm -Rf "$TEMP_DIR" |