From: "Montes, Julio" <julio.montes@intel.com>
To: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"pbonzini@redhat.com" <pbonzini@redhat.com>
Cc: "philmd@redhat.com" <philmd@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 2/2] create_config: remove $(CONFIG_SOFTMMU) hack
Date: Thu, 11 Jul 2019 18:31:05 +0000 [thread overview]
Message-ID: <1f13d98cdb16cf47b15b6500ff4aa3a019f17f63.camel@intel.com> (raw)
In-Reply-To: <1562865736-3546-3-git-send-email-pbonzini@redhat.com>
lgtm, thanks Paolo
Reviewed-by: Julio Montes <julio.montes@intel.com>
Tested-by: Julio Montes <julio.montes@intel.com>
On Thu, 2019-07-11 at 19:22 +0200, Paolo Bonzini wrote:
> CONFIG_TPM is defined to a rather weird $(CONFIG_SOFTMMU) so that it
> expands to the right thing in hw/Makefile.objs. This however is not
> needed anymore and it has a corresponding hack in create_config
> to turn it into "#define CONFIG_TPM 1". Clean up.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> configure | 2 +-
> scripts/create_config | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/configure b/configure
> index 4983c8b..eb635c3 100755
> --- a/configure
> +++ b/configure
> @@ -7159,7 +7159,7 @@ if test "$live_block_migration" = "yes" ; then
> fi
>
> if test "$tpm" = "yes"; then
> - echo 'CONFIG_TPM=$(CONFIG_SOFTMMU)' >> $config_host_mak
> + echo 'CONFIG_TPM=y' >> $config_host_mak
> fi
>
> echo "TRACE_BACKENDS=$trace_backends" >> $config_host_mak
> diff --git a/scripts/create_config b/scripts/create_config
> index 00e86c8..6d8f08b 100755
> --- a/scripts/create_config
> +++ b/scripts/create_config
> @@ -54,7 +54,7 @@ case $line in
> done
> echo " NULL"
> ;;
> - CONFIG_*='$(CONFIG_SOFTMMU)'|CONFIG_*=y) # configuration
> + CONFIG_*=y) # configuration
> name=${line%=*}
> echo "#define $name 1"
> ;;
prev parent reply other threads:[~2019-07-11 18:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-11 17:22 [Qemu-devel] [PATCH 0/2] small create_config cleanup Paolo Bonzini
2019-07-11 17:22 ` [Qemu-devel] [PATCH 1/2] Makefile: do not repeat $(CONFIG_SOFTMMU) in hw/Makefile.objs Paolo Bonzini
2019-07-12 6:09 ` Markus Armbruster
2019-07-11 17:22 ` [Qemu-devel] [PATCH 2/2] create_config: remove $(CONFIG_SOFTMMU) hack Paolo Bonzini
2019-07-11 17:47 ` Philippe Mathieu-Daudé
2019-07-11 18:31 ` Montes, Julio [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=1f13d98cdb16cf47b15b6500ff4aa3a019f17f63.camel@intel.com \
--to=julio.montes@intel.com \
--cc=pbonzini@redhat.com \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).