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. A patch has been submitted to openembedded:
http://lists.openembedded.org/pipermail/openembedded-devel/2018-February/116737.html

Until we move to a version of Yocto that has this patch,
override the map_nodejs_arch function in a bbappend.
This works because in Python "when you define a new
function with the same name as a previously defined
function, the function name is now bound to the new
function object, and the old function object is
reclaimed by the garbage collector."

Resolves openbmc/openbmc#2907

Tested:Built OpenBMC on a ppc64le system.
Change-Id: Ie6a48a5cd1825eb71d9fd5f734f3057bed7d780d
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
1 file changed
tree: a719e3aef2603f0e0ddfec99ef515e8e8df07fc6
  1. classes/
  2. common/
  3. conf/
  4. COPYING.apache-2.0
  5. COPYING.MIT
  6. LICENSE
  7. README.md
README.md

OpenBMC

meta-phosphor is the OpenBMC layer. This layer should be included for all OpenBMC systems. The OpenBMC layer contains content which is shared between all OpenBMC systems.