Diff for /qemu/create_config between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2018/04/24 17:20:17 version 1.1.1.2, 2018/04/24 17:33:43
Line 1 Line 1
 #!/bin/sh  #!/bin/sh
   
 echo "/* Automatically generated by configure - do not modify */"  echo "/* Automatically generated by create_config - do not modify */"
 echo "#include \"../config-host.h\""  
   
 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\""
       ;;
    ARCH=*) # configuration
       arch=${line#*=}
       arch_name=`echo $arch | tr '[:lower:]' '[:upper:]'`
       echo "#define HOST_$arch_name 1"
       ;;
    CONFIG_AUDIO_DRIVERS=*)
       drivers=${line#*=}
       echo "#define CONFIG_AUDIO_DRIVERS \\"
       for drv in $drivers; do
         echo "    &${drv}_audio_driver,\\"
       done
       echo ""
       ;;
    CONFIG_BDRV_WHITELIST=*)
       echo "#define CONFIG_BDRV_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"
Line 15  case $line in Line 42  case $line in
     value=${line#*=}      value=${line#*=}
     echo "#define $name $value"      echo "#define $name $value"
     ;;      ;;
    ARCH=*) # configuration
       arch=${line#*=}
       arch_name=`echo $arch | tr '[:lower:]' '[:upper:]'`
       echo "#define HOST_$arch_name 1"
       ;;
    HOST_USB=*)
       # do nothing
       ;;
    HOST_CC=*)
       # do nothing
       ;;
    HOST_*=y) # configuration
       name=${line%=*}
       echo "#define $name 1"
       ;;
    HOST_*=*) # configuration
       name=${line%=*}
       value=${line#*=}
       echo "#define $name $value"
       ;;
  TARGET_ARCH=*) # configuration   TARGET_ARCH=*) # configuration
     target_arch=${line#*=}      target_arch=${line#*=}
     arch_name=`echo $target_arch | tr '[:lower:]' '[:upper:]'`  
     echo "#define TARGET_ARCH \"$target_arch\""      echo "#define TARGET_ARCH \"$target_arch\""
     echo "#define TARGET_$arch_name 1"  
     ;;      ;;
  TARGET_BASE_ARCH=*) # configuration   TARGET_BASE_ARCH=*) # configuration
     target_base_arch=${line#*=}      target_base_arch=${line#*=}
Line 37  case $line in Line 82  case $line in
  TARGET_ARCH2=*)   TARGET_ARCH2=*)
     # do nothing      # do nothing
     ;;      ;;
    TARGET_DIRS=*)
       # do nothing
       ;;
  TARGET_*=y) # configuration   TARGET_*=y) # configuration
     name=${line%=*}      name=${line%=*}
     echo "#define $name 1"      echo "#define $name 1"
Line 46  case $line in Line 94  case $line in
     value=${line#*=}      value=${line#*=}
     echo "#define $name $value"      echo "#define $name $value"
     ;;      ;;
  USE_NPTL=y) # configuration  
     name=${line%=*}  
     echo "#define $name 1"  
     ;;  
 esac  esac
   
 done # read  done # read

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


unix.superglobalmegacorp.com