aboutsummaryrefslogtreecommitdiff
path: root/sim/mn10300/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sim/mn10300/configure')
-rwxr-xr-xsim/mn10300/configure5
1 files changed, 2 insertions, 3 deletions
diff --git a/sim/mn10300/configure b/sim/mn10300/configure
index 5ca10af..6cee4fc 100755
--- a/sim/mn10300/configure
+++ b/sim/mn10300/configure
@@ -7674,9 +7674,8 @@ else
# remove duplicates
sim_hw=""
sim_hw_objs="\$(SIM_COMMON_HW_OBJS)"
- for i in x $hardware ; do
- case " $f " in
- x) ;;
+ for i in $hardware ; do
+ case " $sim_hw " in
*" $i "*) ;;
*) sim_hw="$sim_hw $i" ; sim_hw_objs="$sim_hw_objs dv-$i.o";;
esac