~ubuntu-branches/ubuntu/wily/openmsx-debugger/wily

« back to all changes in this revision

Viewing changes to build/detectsys.py

  • Committer: Package Import Robot
  • Author(s): Bas Wijnen
  • Date: 2014-10-06 21:24:04 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20141006212404-hhvl91fgs00825f4
Tags: 0.0.0.svn20141006-1
* New snapshot including arm64 support.  (Closes: #759437)
* Adapt build system for qt5.
* Upgrade standards version to 3.9.6.  No changes needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
                return 'x86_64'
21
21
        elif cpu in ('x86', 'i386', 'i486', 'i586', 'i686'):
22
22
                return 'x86'
23
 
        elif cpu.startswith('ppc') or cpu.startswith('power'):
 
23
        elif cpu.startswith('ppc') or cpu.endswith('ppc') or cpu.startswith('power'):
24
24
                return 'ppc64' if cpu.endswith('64') else 'ppc'
25
25
        elif cpu.startswith('arm'):
26
26
                return 'arm'
27
 
        elif cpu.startswith('mips'):
 
27
        elif cpu == 'aarch64':
 
28
                return 'aarch64'
 
29
        elif cpu == 'aarch64_be':
 
30
                return 'aarch64_be'
 
31
        elif cpu.startswith('mips') or cpu == 'sgi':
28
32
                return 'mipsel' if cpu.endswith('el') else 'mips'
29
33
        elif cpu == 'm68k':
30
34
                return 'm68k'