aboutsummaryrefslogtreecommitdiff
path: root/scripts/create_config
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-07-11 19:08:36 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-07-15 20:58:37 +0200
commit3cae16db021601b5437622f89a86d5c489799fb3 (patch)
tree7505b8b5136dae496ed4ec48752f6842be0333c5 /scripts/create_config
parent2d1794e9562ef39e320a1e08a34831c152c18c1a (diff)
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: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/create_config')
-rwxr-xr-xscripts/create_config2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/create_config b/scripts/create_config
index 00e86c82b0..6d8f08b39d 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"
;;