3 echo "/* Automatically generated by create_config - do not modify */"
8 VERSION
=*) # configuration
10 echo "#define QEMU_VERSION \"$version\""
12 PKGVERSION
=*) # configuration
14 echo "#define QEMU_PKGVERSION \"$pkgversion\""
16 qemu_
*dir
=*) # qemu-specific directory configuration
19 define_name
=`echo $name | LC_ALL=C tr '[a-z]' '[A-Z]'`
20 eval "define_value=\"$value\""
21 echo "#define CONFIG_$define_name \"$define_value\""
22 # save for the next definitions
23 eval "$name=\$define_value"
26 # save for the next definitions
29 IASL
=*) # iasl executable
31 echo "#define CONFIG_IASL $value"
33 CONFIG_AUDIO_DRIVERS
=*)
35 echo "#define CONFIG_AUDIO_DRIVERS \\"
36 for drv
in $drivers; do
37 echo " &${drv}_audio_driver,\\"
41 CONFIG_BDRV_RW_WHITELIST
=*)
42 echo "#define CONFIG_BDRV_RW_WHITELIST\\"
43 for drv
in ${line#*=}; do
48 CONFIG_BDRV_RO_WHITELIST
=*)
49 echo "#define CONFIG_BDRV_RO_WHITELIST\\"
50 for drv
in ${line#*=}; do
55 CONFIG_
*='$(CONFIG_SOFTMMU)'|CONFIG_
*=y
) # configuration
57 echo "#define $name 1"
59 CONFIG_
*=*) # configuration
62 echo "#define $name $value"
64 HAVE_
*=y
) # configuration
66 echo "#define $name 1"
68 HAVE_
*=*) # configuration
71 echo "#define $name $value"
73 ARCH
=*) # configuration
75 arch_name
=`echo $arch | LC_ALL=C tr '[a-z]' '[A-Z]'`
76 echo "#define HOST_$arch_name 1"
84 HOST_
*=y
) # configuration
86 echo "#define $name 1"
88 HOST_
*=*) # configuration
91 echo "#define $name $value"
93 TARGET_BASE_ARCH
=*) # configuration
94 target_base_arch
=${line#*=}
95 base_arch_name
=`echo $target_base_arch | LC_ALL=C tr '[a-z]' '[A-Z]'`
96 echo "#define TARGET_$base_arch_name 1"
105 target_name
=${line#*=}
106 echo "#define TARGET_NAME \"$target_name\""
111 TARGET_
*=y
) # configuration
113 echo "#define $name 1"
115 TARGET_
*=*) # configuration
118 echo "#define $name $value"
121 echo "#define HOST_DSOSUF \"${line#*=}\""