summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-cross.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc
index e7a5e41be8..6d160d659a 100644
--- a/meta/recipes-devtools/gcc/gcc-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross.inc
@@ -45,7 +45,6 @@ do_compile () {
45 # append execution part of the script 45 # append execution part of the script
46cat >> ${B}/${TARGET_PREFIX}testgcc << STOP 46cat >> ${B}/${TARGET_PREFIX}testgcc << STOP
47target="\$1" 47target="\$1"
48shift
49usage () { 48usage () {
50 echo "Usage:" 49 echo "Usage:"
51 echo "\$0 user@target 'extra options to dejagnu'" 50 echo "\$0 user@target 'extra options to dejagnu'"
@@ -60,11 +59,13 @@ usage () {
60 } 59 }
61if [ "x\$target" = "x" ] 60if [ "x\$target" = "x" ]
62then 61then
63 echo "Please specify the target machine and remote user in form of user@target" 62 echo "Please specify the target machine and remote user in form of user@target\n"
64 usage 63 usage
65 exit 1; 64 exit 1;
66fi 65fi
67 66
67shift
68
68echo "\$target" | grep "@" 2>&1 > /dev/null 69echo "\$target" | grep "@" 2>&1 > /dev/null
69if [ "x\$?" = "x0" ] 70if [ "x\$?" = "x0" ]
70then 71then