aboutsummaryrefslogtreecommitdiff
path: root/baseboards
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2006-05-22 07:09:39 +0000
committerBen Elliston <bje@gnu.org>2006-05-22 07:09:39 +0000
commit459573046abde19dc73ec156a739490208af8e81 (patch)
tree975757fbde028e86fe2207f04fa5cd86388f6b61 /baseboards
parent433e1aeb52247acb6ebed9b7ecba5077eb7a7083 (diff)
* baseboards/cris-sim.exp: Use switch, not case.
* baseboards/h8300.exp: Likewise. * config/base68k.exp (base68k_ld): Brace an if expression.
Diffstat (limited to 'baseboards')
-rw-r--r--baseboards/cris-sim.exp2
-rw-r--r--baseboards/h8300.exp2
2 files changed, 2 insertions, 2 deletions
diff --git a/baseboards/cris-sim.exp b/baseboards/cris-sim.exp
index 732e490..3ef4e5b 100644
--- a/baseboards/cris-sim.exp
+++ b/baseboards/cris-sim.exp
@@ -29,7 +29,7 @@ foreach x $board_variant_list {
regsub -all "^\[ \t\]*" "$x" "" x;
regsub -all "\[ \t\]*$" "$x" "" x;
- case $x in {
+ switch $x {
# We force the arch to either pre-v32 (i.e. v10) or v32 for the
# "common" compatible subset, by letting the otherwise
# functionally equivalent gcc options "-march=..." and
diff --git a/baseboards/h8300.exp b/baseboards/h8300.exp
index 5bb7dd6..bedb4f2 100644
--- a/baseboards/h8300.exp
+++ b/baseboards/h8300.exp
@@ -67,7 +67,7 @@ foreach x $board_variant_list {
regsub -all "^\[ \t\]*" "$x" "" x
regsub -all "\[ \t\]*$" "$x" "" x
- case $x in {
+ switch $x {
{ h -mh } {
set linker_script "h8300h.ld"
}