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 arch_name
=`echo $target_arch | tr '[:lower:]' '[:upper:]'`
59 echo "#define TARGET_ARCH \"$target_arch\""
60 echo "#define TARGET_$arch_name 1"
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"