3 echo "/* Automatically generated by create_config - do not modify */"
8 VERSION=*) # configuration
10 echo "#define QEMU_VERSION \"$version\""
12 qemu_*dir=*) # qemu-specific directory configuration
15 define_name=$(echo $name | LC_ALL=C tr '[a-z]' '[A-Z]')
16 eval "define_value=\"$value\""
17 echo "#define CONFIG_$define_name \"$define_value\""
18 # save for the next definitions
19 eval "$name=\$define_value"
22 # save for the next definitions
25 IASL=*) # iasl executable
27 echo "#define CONFIG_IASL $value"
29 CONFIG_AUDIO_DRIVERS=*)
31 echo "#define CONFIG_AUDIO_DRIVERS \\"
32 for drv in $drivers; do
33 echo " &${drv}_audio_driver,\\"
37 CONFIG_BDRV_RW_WHITELIST=*)
38 echo "#define CONFIG_BDRV_RW_WHITELIST\\"
39 for drv in ${line#*=}; do
44 CONFIG_BDRV_RO_WHITELIST=*)
45 echo "#define CONFIG_BDRV_RO_WHITELIST\\"
46 for drv in ${line#*=}; do
51 CONFIG_*='$(CONFIG_SOFTMMU)'|CONFIG_*=y) # configuration
53 echo "#define $name 1"
55 CONFIG_*=*) # configuration
58 echo "#define $name $value"
60 HAVE_*=y) # configuration
62 echo "#define $name 1"
64 HAVE_*=*) # configuration
67 echo "#define $name $value"
69 ARCH=*) # configuration
71 arch_name=$(echo $arch | LC_ALL=C tr '[a-z]' '[A-Z]')
72 echo "#define HOST_$arch_name 1"
80 HOST_*=y) # configuration
82 echo "#define $name 1"
84 HOST_*=*) # configuration
87 echo "#define $name $value"
89 TARGET_BASE_ARCH=*) # configuration
90 target_base_arch=${line#*=}
91 base_arch_name=$(echo $target_base_arch | LC_ALL=C tr '[a-z]' '[A-Z]')
92 echo "#define TARGET_$base_arch_name 1"
101 target_name=${line#*=}
102 echo "#define TARGET_NAME \"$target_name\""
107 TARGET_*=y) # configuration
109 echo "#define $name 1"
111 TARGET_*=*) # configuration
114 echo "#define $name $value"
117 echo "#define HOST_DSOSUF \"${line#*=}\""