Changeset 2717 for trunk

Show
Ignore:
Timestamp:
11/06/17 22:56:06 (6 years ago)
Author:
jwoithe
Message:

Support the "ppc64le" architecture.

The ppc64le is basically the ppc64 architecture operating in little
endian mode (to port x86 applications easier).

The Fedora build servers are "power8" systems, requiring an extension of the
PPC 64-bit test in order to compile with the correct word size.

Thanks to Orcan Ogetbil for the patch (via ffado-devel mailing list).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/SConstruct

    r2716 r2717  
    582582        self.is_x86 = self.machine in ('i686', 'x86_64') or \ 
    583583                      re.match("i[3-5]86", self.machine) or False 
    584         self.is_powerpc = self.machine in ('ppc64', 'ppc', 'powerpc', 'powerpc64'
     584        self.is_powerpc = self.machine in ('ppc64', 'ppc', 'powerpc', 'powerpc64', 'ppc64le'
    585585        #!!! probably not comprehensive 
    586586        self.is_mips = self.machine == 'mips' 
     
    600600        # Long Mode (x86-64: amd64, also known as Intel 64, i.e. 64-bit capable) 
    601601        self.is_64bit = (self.is_x86 and 'lm' in self.x86_flags) or \ 
    602                         (self.is_powerpc and '970' in self.ppc_type) 
     602                        (self.is_powerpc and \ 
     603                            ('970' in self.ppc_type or 'power8' in self.ppc_type.lower())) 
    603604 
    604605        # Hardware virtualization capable: vmx (Intel), svm (AMD)