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 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_
*=y
) # configuration
53 echo "#define $name 1"
55 CONFIG_
*=*) # configuration
58 echo "#define $name $value"
60 ARCH
=*) # configuration
62 arch_name
=`echo $arch | LC_ALL=C tr '[a-z]' '[A-Z]'`
63 echo "#define HOST_$arch_name 1"
71 HOST_
*=y
) # configuration
73 echo "#define $name 1"
75 HOST_
*=*) # configuration
78 echo "#define $name $value"
80 TARGET_BASE_ARCH
=*) # configuration
81 target_base_arch
=${line#*=}
82 base_arch_name
=`echo $target_base_arch | LC_ALL=C tr '[a-z]' '[A-Z]'`
83 echo "#define TARGET_$base_arch_name 1"
92 target_name
=${line#*=}
93 echo "#define TARGET_NAME \"$target_name\""
98 TARGET_
*=y
) # configuration
100 echo "#define $name 1"
102 TARGET_
*=*) # configuration
105 echo "#define $name $value"