Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
ffado-mixer
ffado_SConstruct_powerpc_update.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ffado_SConstruct_powerpc_update.patch of Package ffado-mixer
From: Michel Normand <normand@linux.vnet.ibm.com> Subject: ffado SConstruct powerpc update Date: Fri, 06 Mar 2015 18:50:20 +0100 ffado SConstruct powerpc update modify the is_powerpc and is_64bit to support PowerPC LE (to be checked with Debian/Ubuntu env) Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com> --- SConstruct | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Index: libffado-2.2.1/SConstruct =================================================================== --- libffado-2.2.1.orig/SConstruct +++ libffado-2.2.1/SConstruct @@ -527,7 +527,7 @@ class CpuInfo (object): # general CPU architecture self.is_x86 = self.machine in ('i686', 'x86_64') or \ re.match("i[3-5]86", self.machine) or False - self.is_powerpc = self.machine in ('ppc64', 'ppc', 'powerpc', 'powerpc64') + self.is_powerpc = self.machine in ('ppc64', 'ppc', 'powerpc', 'powerpc64', 'ppc64le') #!!! probably not comprehensive self.is_mips = self.machine == 'mips' #!!! not a comprehensive list. uname -m on one android phone reports 'armv71' @@ -545,7 +545,8 @@ class CpuInfo (object): # 64-bit (x86_64/AMD64/Intel64) # Long Mode (x86-64: amd64, also known as Intel 64, i.e. 64-bit capable) self.is_64bit = (self.is_x86 and 'lm' in self.x86_flags) or \ - (self.is_powerpc and '970' in self.ppc_type) + (self.is_powerpc and '970' in self.ppc_type) or \ + (self.machine in ('ppc64', 'powerpc64', 'ppc64le')) or False # Hardware virtualization capable: vmx (Intel), svm (AMD) self.has_hwvirt = self.is_x86 and (
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor