summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-04-13 13:18:20 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-04-13 13:18:20 +0000
commita27c3419ca30f1d0c0be0525d273843117342a3b (patch)
treedb6426139015b9b80f66d12078638fd08d4c375c /gcc
parente694e5e10db7dafc97f35a515f9464ad05b9e106 (diff)
2010-04-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* rundeja, test_driver: Add lm32. Do not attempt to update gcc source if update will ask for passphrase.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rwxr-xr-xgcc/rundeja6
-rwxr-xr-xgcc/test_driver25
3 files changed, 28 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 41da568..c510083 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-13 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * rundeja, test_driver: Add lm32. Do not attempt to update gcc
+ source if update will ask for passphrase.
+
2010-03-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* test_driver: Clean up list of targets.
diff --git a/gcc/rundeja b/gcc/rundeja
index 3ca07c7..52ee539 100755
--- a/gcc/rundeja
+++ b/gcc/rundeja
@@ -28,6 +28,12 @@ case $1 in
DEJABSP=edb7312
BSP_SIM=edb7312
;;
+ lm32_evr)
+ CPU=lm32
+ BSP=lm32_evr
+ DEJABSP=lm32_evr
+ BSP_SIM=lm32_evr
+ ;;
m32csim)
CPU=m32c
BSP=m32csim
diff --git a/gcc/test_driver b/gcc/test_driver
index 5ab3fd2..c8df1a4 100755
--- a/gcc/test_driver
+++ b/gcc/test_driver
@@ -116,20 +116,25 @@ update_gcc()
{
cd ${GCCDIR}
if [ -d .svn ] ; then
- ./contrib/gcc_update
- if [ $? -ne 0 ] ; then
- echo "Update of GCC Failed."
- exit 1
- fi
+ grep "svn+ssh" .svn/entries >/dev/null
+ if [ $? -eq 0 ] ; then
+ echo "Skipping gcc update -- ssh keyed check out"
+ else
+ echo "Updating gcc -- anonymous check out"
+ ./contrib/gcc_update
+ if [ $? -ne 0 ] ; then
+ echo "Update of GCC Failed."
+ exit 1
+ fi
+ fi
fi
+ return 0
}
# HELPER - Remove all the installed previous builds
clean_up()
{
- rm -rf ${INSTALL}/* &
- rm -rf ${BSP_INSTALL}/* &
- wait
+ rm -rf ${INSTALL}/* ${BSP_INSTALL}/*
}
install_auto()
@@ -175,6 +180,7 @@ do_cpus()
bfin) bsp=eZKit533 ;;
h8300) bsp=h8sim ;;
i386) bsp=pc386 ;;
+ lm32) bsp=lm32_evr ;;
m32c) bsp=m32csim ;;
m32r) bsp=m32rsim ;;
m68k) bsp=uC5282 ;;
@@ -207,6 +213,9 @@ do_cpus()
echo Stopped at: ${stopped}
}
+update_gcc
+exit 0
+
if [ ${doCleanInstallPoint} = "yes" ] ; then
# Clean the install point
clean_up