|
Line
Link Here
|
| 0 |
-- qemu-0.11.0/configure |
0 |
++ qemu-0.11.0/configure |
|
Lines 1508-1514
Link Here
|
| 1508 |
;; |
1508 |
;; |
| 1509 |
esac |
1509 |
esac |
| 1510 |
echo "ARCH=$ARCH" >> $config_host_mak |
1510 |
echo "ARCH=$ARCH" >> $config_host_mak |
| 1511 |
arch_name=`echo $ARCH | tr '[:lower:]' '[:upper:]'` |
1511 |
arch_name=`echo $ARCH | LC_ALL=C tr '[:lower:]' '[:upper:]'` |
| 1512 |
echo "#define HOST_$arch_name 1" >> $config_host_h |
1512 |
echo "#define HOST_$arch_name 1" >> $config_host_h |
| 1513 |
|
1513 |
|
| 1514 |
if test "$debug_tcg" = "yes" ; then |
1514 |
if test "$debug_tcg" = "yes" ; then |
|
Lines 1599-1612
Link Here
|
| 1599 |
echo "VDE_LIBS=-lvdeplug" >> $config_host_mak |
1599 |
echo "VDE_LIBS=-lvdeplug" >> $config_host_mak |
| 1600 |
fi |
1600 |
fi |
| 1601 |
for card in $audio_card_list; do |
1601 |
for card in $audio_card_list; do |
| 1602 |
def=CONFIG_`echo $card | tr '[:lower:]' '[:upper:]'` |
1602 |
def=CONFIG_`echo $card | LC_ALL=C tr '[:lower:]' '[:upper:]'` |
| 1603 |
echo "$def=y" >> $config_host_mak |
1603 |
echo "$def=y" >> $config_host_mak |
| 1604 |
echo "#define $def 1" >> $config_host_h |
1604 |
echo "#define $def 1" >> $config_host_h |
| 1605 |
done |
1605 |
done |
| 1606 |
echo "#define AUDIO_DRIVERS \\" >> $config_host_h |
1606 |
echo "#define AUDIO_DRIVERS \\" >> $config_host_h |
| 1607 |
for drv in $audio_drv_list; do |
1607 |
for drv in $audio_drv_list; do |
| 1608 |
echo " &${drv}_audio_driver, \\" >>$config_host_h |
1608 |
echo " &${drv}_audio_driver, \\" >>$config_host_h |
| 1609 |
def=CONFIG_`echo $drv | tr '[:lower:]' '[:upper:]'` |
1609 |
def=CONFIG_`echo $drv | LC_ALL=C tr '[:lower:]' '[:upper:]'` |
| 1610 |
echo "$def=y" >> $config_host_mak |
1610 |
echo "$def=y" >> $config_host_mak |
| 1611 |
if test "$drv" = "fmod"; then |
1611 |
if test "$drv" = "fmod"; then |
| 1612 |
echo "CONFIG_FMOD_LIB=$fmod_lib" >> $config_host_mak |
1612 |
echo "CONFIG_FMOD_LIB=$fmod_lib" >> $config_host_mak |
| 1613 |
-- qemu-0.11.0/create_config |
1613 |
++ qemu-0.11.0/create_config |
|
Lines 17-30
Link Here
|
| 17 |
;; |
17 |
;; |
| 18 |
TARGET_ARCH=*) # configuration |
18 |
TARGET_ARCH=*) # configuration |
| 19 |
target_arch=${line#*=} |
19 |
target_arch=${line#*=} |
| 20 |
arch_name=`echo $target_arch | tr '[:lower:]' '[:upper:]'` |
20 |
arch_name=`echo $target_arch | LC_ALL=C tr '[:lower:]' '[:upper:]'` |
| 21 |
echo "#define TARGET_ARCH \"$target_arch\"" |
21 |
echo "#define TARGET_ARCH \"$target_arch\"" |
| 22 |
echo "#define TARGET_$arch_name 1" |
22 |
echo "#define TARGET_$arch_name 1" |
| 23 |
;; |
23 |
;; |
| 24 |
TARGET_BASE_ARCH=*) # configuration |
24 |
TARGET_BASE_ARCH=*) # configuration |
| 25 |
target_base_arch=${line#*=} |
25 |
target_base_arch=${line#*=} |
| 26 |
if [ "$target_base_arch" != "$target_arch" ]; then |
26 |
if [ "$target_base_arch" != "$target_arch" ]; then |
| 27 |
base_arch_name=`echo $target_base_arch | tr '[:lower:]' '[:upper:]'` |
27 |
base_arch_name=`echo $target_base_arch | LC_ALL=C tr '[:lower:]' '[:upper:]'` |
| 28 |
echo "#define TARGET_$base_arch_name 1" |
28 |
echo "#define TARGET_$base_arch_name 1" |
| 29 |
fi |
29 |
fi |
| 30 |
;; |
30 |
;; |