~ubuntu-branches/ubuntu/vivid/qemu-linaro/vivid

« back to all changes in this revision

Viewing changes to scripts/create_config

  • Committer: Ricardo Salveti de Araujo
  • Date: 2012-09-20 18:39:31 UTC
  • mfrom: (12922.1.2 qemu-linaro)
  • Revision ID: ricardo.salveti@linaro.org-20120920183931-sp3cg6kpdl8dmwo9
* New upstream release.
  - support emulated systems with more than 2G of memory. (LP: #1030588)
* Drop powerpc-missing-include.patch - merged upstream.
* Update debian/control:
  - drop perl build dependency.
  - add libfdt-dev build dependency.
* Update debian/qemu-keymaps.install file.
* Update debian/rules:
  - update QEMU_CPU for ARM architecture: armv4l -> armv7l.
  - update conf_audio_drv: default to PulseAudio since PA is the default on
    Ubuntu.
  - enable KVM on ARM architecture.
  - enable flat device tree support (--enable-fdt). (LP: #1030594)

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
    pkgversion=${line#*=}
14
14
    echo "#define QEMU_PKGVERSION \"$pkgversion\""
15
15
    ;;
16
 
 prefix=* | [a-z]*dir=*) # directory configuration
 
16
 qemu_*dir=*) # qemu-specific directory configuration
17
17
    name=${line%=*}
18
18
    value=${line#*=}
19
 
    define_name=`echo $name | tr '[:lower:]' '[:upper:]'`
 
19
    define_name=`echo $name | LC_ALL=C tr '[a-z]' '[A-Z]'`
20
20
    eval "define_value=\"$value\""
21
 
    echo "#define CONFIG_QEMU_$define_name \"$define_value\""
 
21
    echo "#define CONFIG_$define_name \"$define_value\""
22
22
    # save for the next definitions
23
23
    eval "$name=\$define_value"
24
24
    ;;
 
25
 prefix=*)
 
26
    # save for the next definitions
 
27
    prefix=${line#*=}
 
28
    ;;
25
29
 CONFIG_AUDIO_DRIVERS=*)
26
30
    drivers=${line#*=}
27
31
    echo "#define CONFIG_AUDIO_DRIVERS \\"
48
52
    ;;
49
53
 ARCH=*) # configuration
50
54
    arch=${line#*=}
51
 
    arch_name=`echo $arch | tr '[:lower:]' '[:upper:]'`
 
55
    arch_name=`echo $arch | LC_ALL=C tr '[a-z]' '[A-Z]'`
52
56
    echo "#define HOST_$arch_name 1"
53
57
    ;;
54
58
 HOST_USB=*)
73
77
 TARGET_BASE_ARCH=*) # configuration
74
78
    target_base_arch=${line#*=}
75
79
    if [ "$target_base_arch" != "$target_arch" ]; then
76
 
      base_arch_name=`echo $target_base_arch | tr '[:lower:]' '[:upper:]'`
 
80
      base_arch_name=`echo $target_base_arch | LC_ALL=C tr '[a-z]' '[A-Z]'`
77
81
      echo "#define TARGET_$base_arch_name 1"
78
82
    fi
79
83
    ;;