2626 fi
2627
2628 if is_source_build && [ $build_ok = y ] ; then
2629 # remove proto area(s) here, since we don't clobber
2630 rm -rf `allprotos`
2631 if [ "$t_FLAG" = "y" ]; then
2632 set_non_debug_build_flags
2633 ORIG_TOOLS=$TOOLS
2634 #
2635 # SRC was set earlier to point to the source build
2636 # source tree (e.g., $EXPORT_SRC).
2637 #
2638 TOOLS=${SRC}/tools
2639 TOOLS_PROTO=${TOOLS}/${TOOLS_PROTO_REL}; export TOOLS_PROTO
2640 build_tools ${TOOLS_PROTO}
2641 if [[ $? != 0 ]]; then
2642 use_tools ${TOOLS_PROTO}
2643 fi
2644 fi
2645
2646 export EXPORT_RELEASE_BUILD ; EXPORT_RELEASE_BUILD=#
2647 normal_build
2648 fi
2649
2650 #
2651 # There are several checks that need to look at the proto area, but
2652 # they only need to look at one, and they don't care whether it's
2653 # DEBUG or non-DEBUG.
2654 #
2655 if [[ "$MULTI_PROTO" = yes && "$D_FLAG" = n ]]; then
2656 checkroot=$ROOT-nd
2657 else
2658 checkroot=$ROOT
2659 fi
2660
2661 if [ "$build_ok" = "y" ]; then
2662 echo "\n==== Creating protolist system file at `date` ====" \
2663 >> $LOGFILE
2664 protolist $checkroot > $ATLOG/proto_list_${MACH}
2665 echo "==== protolist system file created at `date` ====\n" \
2666 >> $LOGFILE
|
2626 fi
2627
2628 if is_source_build && [ $build_ok = y ] ; then
2629 # remove proto area(s) here, since we don't clobber
2630 rm -rf `allprotos`
2631 if [ "$t_FLAG" = "y" ]; then
2632 set_non_debug_build_flags
2633 ORIG_TOOLS=$TOOLS
2634 #
2635 # SRC was set earlier to point to the source build
2636 # source tree (e.g., $EXPORT_SRC).
2637 #
2638 TOOLS=${SRC}/tools
2639 TOOLS_PROTO=${TOOLS}/${TOOLS_PROTO_REL}; export TOOLS_PROTO
2640 build_tools ${TOOLS_PROTO}
2641 if [[ $? != 0 ]]; then
2642 use_tools ${TOOLS_PROTO}
2643 fi
2644 fi
2645
2646 normal_build
2647 fi
2648
2649 #
2650 # There are several checks that need to look at the proto area, but
2651 # they only need to look at one, and they don't care whether it's
2652 # DEBUG or non-DEBUG.
2653 #
2654 if [[ "$MULTI_PROTO" = yes && "$D_FLAG" = n ]]; then
2655 checkroot=$ROOT-nd
2656 else
2657 checkroot=$ROOT
2658 fi
2659
2660 if [ "$build_ok" = "y" ]; then
2661 echo "\n==== Creating protolist system file at `date` ====" \
2662 >> $LOGFILE
2663 protolist $checkroot > $ATLOG/proto_list_${MACH}
2664 echo "==== protolist system file created at `date` ====\n" \
2665 >> $LOGFILE
|