aboutsummaryrefslogtreecommitdiff
path: root/sim/m68hc11/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sim/m68hc11/configure')
-rwxr-xr-xsim/m68hc11/configure5
1 files changed, 2 insertions, 3 deletions
diff --git a/sim/m68hc11/configure b/sim/m68hc11/configure
index 12bf1c6..cc32d65 100755
--- a/sim/m68hc11/configure
+++ b/sim/m68hc11/configure
@@ -7557,9 +7557,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