From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Cc: Joel Brobecker <brobecker@adacore.com>,
Andreas Schwab <schwab@linux-m68k.org>
Subject: Re: [RFA/commit] Work around Solaris bourne shell limitation when building the sim
Date: Sun, 18 Dec 2011 19:09:00 -0000 [thread overview]
Message-ID: <201112181344.59343.vapier@gentoo.org> (raw)
In-Reply-To: <20111218175719.GK21915@adacore.com>
[-- Attachment #1: Type: Text/Plain, Size: 1037 bytes --]
On Sunday 18 December 2011 12:57:19 Joel Brobecker wrote:
> > > 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 \
>
> I had already tried that:
>
> Makefile:473: *** commands commence before first target. Stop.
that seems weird ... i just tried it locally and it seems to work for me ...
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -462,7 +462,8 @@
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
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2011-12-18 18:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-18 16:35 Joel Brobecker
2011-12-18 16:53 ` Andreas Schwab
2011-12-18 18:02 ` Joel Brobecker
2011-12-18 19:09 ` Mike Frysinger [this message]
2011-12-19 3:48 ` Joel Brobecker
2011-12-19 4:43 ` Mike Frysinger
2011-12-19 6:04 ` Joel Brobecker
2011-12-18 19:13 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201112181344.59343.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox