diff options
Diffstat (limited to 'sim')
-rw-r--r-- | sim/common/ChangeLog | 5 | ||||
-rw-r--r-- | sim/common/Make-common.in | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index c69b948..b2b8b63 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,8 @@ +2011-12-19 Joel Brobecker <brobecker@adacore.com> + + * Make-common.in (hw-config.h): Work around bug in Solaris 2.8 + system bourne shell. + 2011-12-03 Mike Frysinger <vapier@gentoo.org> * syscall.c (cb_get_string): Rename from "get_string". diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index c12d155..606e595 100644 --- a/sim/common/Make-common.in +++ b/sim/common/Make-common.in @@ -462,11 +462,13 @@ sim-inline.c: $(srccom)/sim-inline.c hw-config.h: Makefile.in $(srccom)/Make-common.in config.status Makefile rm -f tmp-hw.h echo "/* generated by Makefile */" > tmp-hw.h - for hw in $(SIM_HW) ; do \ + sim_hw="$(SIM_HW)"; \ + for hw in $$sim_hw ; do \ echo "extern const struct hw_descriptor dv_$${hw}_descriptor[];" ; \ done >> tmp-hw.h echo "const struct hw_descriptor *hw_descriptors[] = {" >> tmp-hw.h - for hw in $(SIM_HW) ; do \ + sim_hw="$(SIM_HW)"; \ + for hw in $$sim_hw ; do \ echo " dv_$${hw}_descriptor," ; \ done >> tmp-hw.h echo " NULL," >> tmp-hw.h |