]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
create_config: remove $(CONFIG_SOFTMMU) hack
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Jul 2019 17:08:36 +0000 (19:08 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Jul 2019 18:58:37 +0000 (20:58 +0200)
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
scripts/create_config

index 4983c8b5330058d7aedec53815a0c1bc35da6126..eb635c3b9a5501c2f813ab25ca6deca37e284786 100755 (executable)
--- 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
index 00e86c82b07a226e3ef373f6008d7f1343178650..6d8f08b39daea1e2f0654f83d4fd1e599068ddeb 100755 (executable)
@@ -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"
     ;;