Commit 3cae16db authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

create_config: remove $(CONFIG_SOFTMMU) hack



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: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 2d1794e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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"
    ;;