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"
28 define_name=`echo $name | LC_ALL=C tr '[a-z]' '[A-Z]'`
29 eval "define_value=\"$value\""
30 echo "#define CONFIG_QEMU_$define_name \"$define_value\""
31 # save for the next definitions
32 eval "$name=\$define_value"
34 CONFIG_AUDIO_DRIVERS=*)
36 echo "#define CONFIG_AUDIO_DRIVERS \\"
37 for drv in $drivers; do
38 echo " &${drv}_audio_driver,\\"
42 CONFIG_BDRV_WHITELIST=*)
43 echo "#define CONFIG_BDRV_WHITELIST \\"
44 for drv in ${line#*=}; do
49 CONFIG_*=y) # configuration
51 echo "#define $name 1"
53 CONFIG_*=*) # configuration
56 echo "#define $name $value"
58 ARCH=*) # configuration
60 arch_name=`echo $arch | LC_ALL=C tr '[a-z]' '[A-Z]'`
61 echo "#define HOST_$arch_name 1"
69 HOST_*=y) # configuration
71 echo "#define $name 1"
73 HOST_*=*) # configuration
76 echo "#define $name $value"
78 TARGET_ARCH=*) # configuration
79 target_arch=${line#*=}
80 echo "#define TARGET_ARCH \"$target_arch\""
82 TARGET_BASE_ARCH=*) # configuration
83 target_base_arch=${line#*=}
84 if [ "$target_base_arch" != "$target_arch" ]; then
85 base_arch_name=`echo $target_base_arch | LC_ALL=C tr '[a-z]' '[A-Z]'`
86 echo "#define TARGET_$base_arch_name 1"
101 TARGET_*=y) # configuration
103 echo "#define $name 1"
105 TARGET_*=*) # configuration
108 echo "#define $name $value"