diff options
Diffstat (limited to 'rtems/bit_rtems')
-rwxr-xr-x | rtems/bit_rtems | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/rtems/bit_rtems b/rtems/bit_rtems index 4020c16..9cf039b 100755 --- a/rtems/bit_rtems +++ b/rtems/bit_rtems @@ -34,6 +34,11 @@ args=$* # The argument to the "--target" argument of configure. BUILD_PIECE=rtems +# Include user configurable information +test -r ./user.cfg || \ + check_fatal 1 "Cannot find user configuration (user.cfg)" +. ./user.cfg + # Include shared setup if [ ! -r ./common.sh ] ; then echo "Cannot find shared shell script support (common.sh)" @@ -41,11 +46,6 @@ if [ ! -r ./common.sh ] ; then fi . `echo $0 | sed -e 's/bit_rtems/common.sh/'` -# Include user configurable information -test -r ./user.cfg || \ - check_fatal 1 "Cannot find user configuration (user.cfg)" -. ./user.cfg - # Now set some internal variables based on the user configuration verbose=yes testing=no @@ -57,6 +57,7 @@ fi export PATH=$PATH:${INSTALL_POINT}/bin echo $PATH +type ${target}-gcc # # Remove the build directory @@ -334,7 +335,8 @@ if [ ${ENABLE_RTEMS_CXX} = yes ] ; then ENABLE_RTEMS_CXX="--disable-cxx" ;; #or1k) # RTEMS PR XXX # ENABLE_RTEMS_CXX="--disable-cxx" ;; - avr|bfin|m32c|m32r|tic4x) + #avr|bfin|lm32|m32r|moxie|tic4x|v850) + m32c) # m32c does not have C++ support in GCC ENABLE_RTEMS_CXX="--disable-cxx" ;; *) ENABLE_RTEMS_CXX="--enable-cxx" ;; esac @@ -537,7 +539,9 @@ if [ ${ENABLE_RTEMS_TESTS} = "samples" -o \ # If not multilib, grab the ticker.${exeext} and save it out if [ X${BSP_TO_TEST} != X ] ; then mkdir -p ../ticker-executables - cp `find . -name ticker.${exeext}` \ + #cp `find . -name ticker.${exeext}` \ + # ../ticker-executables/${CPU}-${BSP_TO_TEST}-ticker.${exeext} + cp `find . -name ticker.exe` \ ../ticker-executables/${CPU}-${BSP_TO_TEST}-ticker.${exeext} fi |