From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28209 invoked by alias); 18 Dec 2011 18:45:11 -0000 Received: (qmail 28201 invoked by uid 22791); 18 Dec 2011 18:45:10 -0000 X-SWARE-Spam-Status: No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 18 Dec 2011 18:44:58 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id E2E951B4030; Sun, 18 Dec 2011 18:44:57 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: Re: [RFA/commit] Work around Solaris bourne shell limitation when building the sim Date: Sun, 18 Dec 2011 19:09:00 -0000 User-Agent: KMail/1.13.7 (Linux/3.1.0-atsc; KDE/4.6.5; x86_64; ; ) Cc: Joel Brobecker , Andreas Schwab References: <1324224294-22559-1-git-send-email-brobecker@adacore.com> <20111218175719.GK21915@adacore.com> In-Reply-To: <20111218175719.GK21915@adacore.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3529436.DYafzaL4MD"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201112181344.59343.vapier@gentoo.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-12/txt/msg00609.txt.bz2 --nextPart3529436.DYafzaL4MD Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 1027 On Sunday 18 December 2011 12:57:19 Joel Brobecker wrote: > > > hw-config.h: Makefile.in $(srccom)/Make-common.in config.status > > > Makefile > > >=20=20 > > > rm -f tmp-hw.h > > > echo "/* generated by Makefile */" > tmp-hw.h > > >=20 > > > - for hw in $(SIM_HW) ; do \ > > >=20 > > sim_hw=3D"$(SIM_HW)"; \ > >=20=09 > > for hw in $$sim_hw ; do \ >=20 > I had already tried that: >=20 > 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=3D"$(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[] =3D {" >> tmp-hw.h -mike --nextPart3529436.DYafzaL4MD Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJO7jSrAAoJEEFjO5/oN/WBiEEP/RqoHeGRReP002pZZY1ALVt0 QcLKpCaGylAM0ryWK7yxE65Wa//PXcTjJ8ssxC/ip2PS7jb8Kr1MEMR8sabSwr1B KmXSm64hBydbF4j5zjwJIqn1x63cWuhkh8TcMoZzwFQMYPaLex4xzTaZsqhWZdOy g9gkNAJ0GyWR4qrplaeZRPwa0wKmWaMqKOdxGn/d0P6zQGM0Q0FYteTeHqx6Zy8v CEG0rqLOxP2FQBKaEMe2AXUH7vd9xDM2Y+WH+77Lj2r7Wy16nM13BcZ4bojQD8JM oQYdX88QsQNzqqpb5qzTM4n8urOxbZ5+ioDMvqpUcS3vvkiAR/tVL4gXwtQRZ7Ar dc1349gaXHjbxNMJDB4nOMZE7p0JlGePSr9iFLW3jfCpvGRNG6j+OunwrtWVuf0k 8SpkXFBC+kOgoBMW6D/6nykmYCEgQlbl5pjYSIMfIDWpRQcO/pXAvAe1LmToDjVR JXWPB3S57VKdVMo22h4T2Nz9uR5dhSddPz6jE+Qn6/szPwim3NDf2jgJpWjwCg4n ZeDBNlMEMxbnphzjlXCfAUWOpPi8JMjKq5YAKwawR+bV1F8OAlVIMM/IxhMHfMv0 uxgPc79nabSJAUawF7fdn7nkfW/6/xSWKSwz/25URweEg+8XLyhfIq6LSdeGUFAc gsOucz6M+R9T4Nq7N45m =YiPk -----END PGP SIGNATURE----- --nextPart3529436.DYafzaL4MD--