3 # build_example <all|clean> <arch> <board> <example>
5 # Example: build_example all|clean ARM|PPC mpc551xsim| simple|tiny|.....
9 echo "### BUILD FAILED"
16 echo " build_example <build_target> <arch> <board> <example>"
17 echo " <build target> - all | clean"
18 echo " <arch> - ARM | PPC | HCS12"
19 echo " <board> - mpc551xsim | ..."
20 echo " <example> - simple | tiny | ..."
23 echo " $build_example all PPC mpc551xsim examples/simple"
27 SCRIPT_DIR=`dirname $0`
29 source ${SCRIPT_DIR}/guess_cc.sh
33 if [ $? -ne 0 ]; then quit 1