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_
*=y
) # configuration
31 echo "#define $name 1"
33 CONFIG_
*=*) # configuration
36 echo "#define $name $value"
38 ARCH
=*) # configuration
40 arch_name
=`echo $arch | tr '[:lower:]' '[:upper:]'`
41 echo "#define HOST_$arch_name 1"
49 HOST_
*=y
) # configuration
51 echo "#define $name 1"
53 HOST_
*=*) # configuration
56 echo "#define $name $value"
58 TARGET_ARCH
=*) # configuration
59 target_arch
=${line#*=}
60 echo "#define TARGET_ARCH \"$target_arch\""
62 TARGET_BASE_ARCH
=*) # configuration
63 target_base_arch
=${line#*=}
64 if [ "$target_base_arch" != "$target_arch" ]; then
65 base_arch_name
=`echo $target_base_arch | tr '[:lower:]' '[:upper:]'`
66 echo "#define TARGET_$base_arch_name 1"
81 TARGET_
*=y
) # configuration
83 echo "#define $name 1"
85 TARGET_
*=*) # configuration
88 echo "#define $name $value"