more cleanup qemu/configure

This commit is contained in:
Nguyen Anh Quynh 2017-01-19 14:11:54 +08:00
parent 37410d02f1
commit f2691b0107
2 changed files with 0 additions and 42 deletions

2
qemu/configure vendored
View file

@ -1177,8 +1177,6 @@ fi
if test "$static" = "yes" ; then if test "$static" = "yes" ; then
echo "CONFIG_STATIC=y" >> $config_host_mak echo "CONFIG_STATIC=y" >> $config_host_mak
fi fi
qemu_version=`head $source_path/VERSION`
echo "VERSION=$qemu_version" >>$config_host_mak
echo "SRC_PATH=$source_path" >> $config_host_mak echo "SRC_PATH=$source_path" >> $config_host_mak
echo "TARGET_DIRS=$target_list" >> $config_host_mak echo "TARGET_DIRS=$target_list" >> $config_host_mak
if test "$byteswap_h" = "yes" ; then if test "$byteswap_h" = "yes" ; then

View file

@ -5,14 +5,6 @@ echo "/* Automatically generated by create_config - do not modify */"
while read line; do while read line; do
case $line in case $line in
VERSION=*) # configuration
version=${line#*=}
echo "#define QEMU_VERSION \"$version\""
;;
PKGVERSION=*) # configuration
pkgversion=${line#*=}
echo "#define QEMU_PKGVERSION \"$pkgversion\""
;;
qemu_*dir=*) # qemu-specific directory configuration qemu_*dir=*) # qemu-specific directory configuration
name=${line%=*} name=${line%=*}
value=${line#*=} value=${line#*=}
@ -26,32 +18,6 @@ case $line in
# save for the next definitions # save for the next definitions
prefix=${line#*=} prefix=${line#*=}
;; ;;
IASL=*) # iasl executable
value=${line#*=}
echo "#define CONFIG_IASL $value"
;;
CONFIG_AUDIO_DRIVERS=*)
drivers=${line#*=}
echo "#define CONFIG_AUDIO_DRIVERS \\"
for drv in $drivers; do
echo " &${drv}_audio_driver,\\"
done
echo ""
;;
CONFIG_BDRV_RW_WHITELIST=*)
echo "#define CONFIG_BDRV_RW_WHITELIST\\"
for drv in ${line#*=}; do
echo " \"${drv}\",\\"
done
echo " NULL"
;;
CONFIG_BDRV_RO_WHITELIST=*)
echo "#define CONFIG_BDRV_RO_WHITELIST\\"
for drv in ${line#*=}; do
echo " \"${drv}\",\\"
done
echo " NULL"
;;
CONFIG_*=y) # configuration CONFIG_*=y) # configuration
name=${line%=*} name=${line%=*}
echo "#define $name 1" echo "#define $name 1"
@ -66,9 +32,6 @@ case $line in
arch_name=`echo $arch | LC_ALL=C tr '[a-z]' '[A-Z]'` arch_name=`echo $arch | LC_ALL=C tr '[a-z]' '[A-Z]'`
echo "#define HOST_$arch_name 1" echo "#define HOST_$arch_name 1"
;; ;;
HOST_USB=*)
# do nothing
;;
HOST_CC=*) HOST_CC=*)
# do nothing # do nothing
;; ;;
@ -108,9 +71,6 @@ case $line in
value=${line#*=} value=${line#*=}
echo "#define $name $value" echo "#define $name $value"
;; ;;
DSOSUF=*)
echo "#define HOST_DSOSUF \"${line#*=}\""
;;
esac esac
done # read done # read