From: Anthony Liguori <anthony@codemonkey.ws>
To: Stefan Weil <weil@mail.berlios.de>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] configure: Fix code which creates config.mak files
Date: Tue, 09 Mar 2010 11:21:51 -0600 [thread overview]
Message-ID: <4B9683AF.5030208@codemonkey.ws> (raw)
In-Reply-To: <1267478429-6412-1-git-send-email-weil@mail.berlios.de>
On 03/01/2010 03:20 PM, Stefan Weil wrote:
> These files are created by configure and grow
> unnecessarily at each new call of configure:
>
> roms/seabios/config.mak
> roms/vgabios/config.mak
> libhw32/config.mak
> libhw64/config.mak
>
> libhw32/config.mak and libhw64/config.mak set
> compiler options, and the wrong old code results
> in very long command lines.
>
> The new code always writes a new config.mak
> instead of appending to an existing one.
>
> Signed-off-by: Stefan Weil<weil@mail.berlios.de>
>
Applied. Thanks.
Regards,
Anthony Liguori
> ---
> configure | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/configure b/configure
> index a14aba7..b4db650 100755
> --- a/configure
> +++ b/configure
> @@ -2723,7 +2723,7 @@ fi
> # temporary config to build submodules
> for rom in seabios vgabios ; do
> config_mak=roms/$rom/config.mak
> - echo "# Automatically generated by configure - do not modify">> $config_mak
> + echo "# Automatically generated by configure - do not modify"> $config_mak
> echo "SRC_PATH=$source_path/roms/$rom">> $config_mak
> echo "CC=$cc">> $config_mak
> echo "BCC=bcc">> $config_mak
> @@ -2739,7 +2739,7 @@ for hwlib in 32 64; do
> mkdir -p $d
> rm -f $d/Makefile
> ln -s $source_path/Makefile.hw $d/Makefile
> - echo "QEMU_CFLAGS+=-DTARGET_PHYS_ADDR_BITS=$hwlib">> $d/config.mak
> + echo "QEMU_CFLAGS+=-DTARGET_PHYS_ADDR_BITS=$hwlib"> $d/config.mak
> done
>
> d=libuser
>
prev parent reply other threads:[~2010-03-09 17:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-01 21:20 [Qemu-devel] [PATCH] configure: Fix code which creates config.mak files Stefan Weil
2010-03-09 17:21 ` Anthony Liguori [this message]
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=4B9683AF.5030208@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=qemu-devel@nongnu.org \
--cc=weil@mail.berlios.de \
/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;
as well as URLs for NNTP newsgroup(s).