mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-11 09:57:31 +00:00
nodejs: Add support for building on ppc64le
ppc64le is a little-endian mode of ppc64. Nodejs determines the endianness of the system and since it already supports bi-endian ppc64, just pass nodejs "ppc64" when the TARGET_ARCH is ppc64le. Signed-off-by: Gunnar Mills <gmills@linux.vnet.ibm.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
e135ac3ac7
commit
74880c1464
@ -26,7 +26,7 @@ def map_nodejs_arch(a, d):
|
||||
if re.match('i.86$', a): return 'ia32'
|
||||
elif re.match('x86_64$', a): return 'x64'
|
||||
elif re.match('aarch64$', a): return 'arm64'
|
||||
elif re.match('powerpc64$', a): return 'ppc64'
|
||||
elif re.match('(powerpc64|ppc64le)$', a): return 'ppc64'
|
||||
elif re.match('powerpc$', a): return 'ppc'
|
||||
return a
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user