6 VERSION
=*) # configuration
8 echo "#define QEMU_VERSION \"$version\""
10 PKGVERSION
=*) # configuration
12 echo "#define QEMU_PKGVERSION \"$pkgversion\""
14 ARCH
=*) # configuration
16 arch_name
=`echo $arch | tr '[:lower:]' '[:upper:]'`
17 echo "#define HOST_$arch_name 1"
19 CONFIG_AUDIO_DRIVERS
=*)
21 echo "#define CONFIG_AUDIO_DRIVERS \\"
22 for drv
in $drivers; do
23 echo " &${drv}_audio_driver,\\"
27 CONFIG_
*=y
) # configuration
29 echo "#define $name 1"
31 CONFIG_
*=*) # configuration
34 echo "#define $name $value"
36 ARCH
=*) # configuration
38 arch_name
=`echo $arch | tr '[:lower:]' '[:upper:]'`
39 echo "#define HOST_$arch_name 1"
47 HOST_
*=y
) # configuration
49 echo "#define $name 1"
51 HOST_
*=*) # configuration
54 echo "#define $name $value"
56 TARGET_ARCH
=*) # configuration
57 target_arch
=${line#*=}
58 echo "#define TARGET_ARCH \"$target_arch\""
60 TARGET_BASE_ARCH
=*) # configuration
61 target_base_arch
=${line#*=}
62 if [ "$target_base_arch" != "$target_arch" ]; then
63 base_arch_name
=`echo $target_base_arch | tr '[:lower:]' '[:upper:]'`
64 echo "#define TARGET_$base_arch_name 1"
79 TARGET_
*=y
) # configuration
81 echo "#define $name 1"
83 TARGET_
*=*) # configuration
86 echo "#define $name $value"