aboutsummaryrefslogtreecommitdiffstats
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
parente135ac3ac7037c398fe27fe312132a6a23176c99 (diff)
downloadmeta-openembedded-74880c14647f3d875e18ea4eea4081419f82e021.tar.gz
meta-openembedded-74880c14647f3d875e18ea4eea4081419f82e021.tar.bz2
meta-openembedded-74880c14647f3d875e18ea4eea4081419f82e021.zip
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>
-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):
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