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__sparc_
*=y
) # configuration
23 echo "#define $name $value"
25 CONFIG_AUDIO_DRIVERS
=*)
27 echo "#define CONFIG_AUDIO_DRIVERS \\"
28 for drv
in $drivers; do
29 echo " &${drv}_audio_driver,\\"
33 CONFIG_
*=y
) # configuration
35 echo "#define $name 1"
37 CONFIG_
*=*) # configuration
40 echo "#define $name $value"
42 ARCH
=*) # configuration
44 arch_name
=`echo $arch | tr '[:lower:]' '[:upper:]'`
45 echo "#define HOST_$arch_name 1"
53 HOST_
*=y
) # configuration
55 echo "#define $name 1"
57 HOST_
*=*) # configuration
60 echo "#define $name $value"
62 TARGET_ARCH
=*) # configuration
63 target_arch
=${line#*=}
64 arch_name
=`echo $target_arch | tr '[:lower:]' '[:upper:]'`
65 echo "#define TARGET_ARCH \"$target_arch\""
66 echo "#define TARGET_$arch_name 1"
68 TARGET_BASE_ARCH
=*) # configuration
69 target_base_arch
=${line#*=}
70 if [ "$target_base_arch" != "$target_arch" ]; then
71 base_arch_name
=`echo $target_base_arch | tr '[:lower:]' '[:upper:]'`
72 echo "#define TARGET_$base_arch_name 1"
87 TARGET_
*=y
) # configuration
89 echo "#define $name 1"
91 TARGET_
*=*) # configuration
94 echo "#define $name $value"