summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorGunnar Mills <gmills@linux.vnet.ibm.com>2018-02-16 14:41:46 -0600
committerArmin Kuster <akuster808@gmail.com>2018-03-01 16:12:55 -0800
commit74880c14647f3d875e18ea4eea4081419f82e021 (patch)
treebb9da793490209931b852d2a527a3423e7e898f9 /meta-oe
parente135ac3ac7037c398fe27fe312132a6a23176c99 (diff)
downloadmeta-openembedded-74880c14647f3d875e18ea4eea4081419f82e021.tar.gz
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>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs_8.9.0.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_8.9.0.bb b/meta-oe/recipes-devtools/nodejs/nodejs_8.9.0.bb
index 1cab6a497..3806aac38 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_8.9.0.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_8.9.0.bb
@@ -26,7 +26,7 @@ def map_nodejs_arch(a, d):
26 if re.match('i.86$', a): return 'ia32' 26 if re.match('i.86$', a): return 'ia32'
27 elif re.match('x86_64$', a): return 'x64' 27 elif re.match('x86_64$', a): return 'x64'
28 elif re.match('aarch64$', a): return 'arm64' 28 elif re.match('aarch64$', a): return 'arm64'
29 elif re.match('powerpc64$', a): return 'ppc64' 29 elif re.match('(powerpc64|ppc64le)$', a): return 'ppc64'
30 elif re.match('powerpc$', a): return 'ppc' 30 elif re.match('powerpc$', a): return 'ppc'
31 return a 31 return a
32 32