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 ARCH
=*) # configuration
18 arch_name
=`echo $arch | tr '[:lower:]' '[:upper:]'`
19 echo "#define HOST_$arch_name 1"
21 CONFIG_AUDIO_DRIVERS
=*)
23 echo "#define CONFIG_AUDIO_DRIVERS \\"
24 for drv
in $drivers; do
25 echo " &${drv}_audio_driver,\\"
29 CONFIG_BDRV_WHITELIST
=*)
30 echo "#define CONFIG_BDRV_WHITELIST \\"
31 for drv
in ${line#*=}; do
36 CONFIG_
*=y
) # configuration
38 echo "#define $name 1"
40 CONFIG_
*=*) # configuration
43 echo "#define $name $value"
45 ARCH
=*) # configuration
47 arch_name
=`echo $arch | tr '[:lower:]' '[:upper:]'`
48 echo "#define HOST_$arch_name 1"
56 HOST_
*=y
) # configuration
58 echo "#define $name 1"
60 HOST_
*=*) # configuration
63 echo "#define $name $value"
65 TARGET_ARCH
=*) # configuration
66 target_arch
=${line#*=}
67 echo "#define TARGET_ARCH \"$target_arch\""
69 TARGET_BASE_ARCH
=*) # configuration
70 target_base_arch
=${line#*=}
71 if [ "$target_base_arch" != "$target_arch" ]; then
72 base_arch_name
=`echo $target_base_arch | tr '[:lower:]' '[:upper:]'`
73 echo "#define TARGET_$base_arch_name 1"
88 TARGET_
*=y
) # configuration
90 echo "#define $name 1"
92 TARGET_
*=*) # configuration
95 echo "#define $name $value"