My third attempt to update and cleanup the nodejs recipes. This patch removes the older nodejs recipes and replaces them with a recipe for nodejs 4.2.3 (the latest stable at this time).
Nodejs is picky about which architectures it supports. Add COMPATIBLE_MACHINE and cleanup the architecture mapping function to reflect what is currently supported. Nodejs dropped support for ARMv5 around V8 version 3.22. Also, gcc no longer supports -mfpu=vfpv2 (which is what the nodejs build thinks it should be using). Successfully built for: qemuarm, qemuarm64, qemumips, qemumips64, qemuppc, qemuppc64, qemux86, qemux86-64, beaglebone, intel-corei7-64, genericx86, genericx86-64 Successfully ran on: qemuarm64, qemumips, qemux86, qemux86-64, intel-corei7-64 (turbot) Failed to run for: qemuppc: unhandled signal 4 at 2ee3bf48 nip 2ee3bf48 lr 2ee3ed70 code 30001 Illegal instruction qemuppc64: I wasn't able to successfully run a qemuppc64 VM Changes from v2: handle qemuarm build failure Changes from v1: don't try to keep and unite the old recipe versions, just replace them with the latest stable Trevor Woerner (1): nodejs: cleanup and update .../nodejs/nodejs/enable-armv5e-build.patch | 22 ---------- .../nodejs/nodejs4/libev-cross-cc_0.4.12.patch | 13 ------ meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb | 49 ---------------------- .../nodejs/{nodejs_0.12.7.bb => nodejs_4.2.3.bb} | 23 ++++++---- 4 files changed, 16 insertions(+), 91 deletions(-) delete mode 100644 meta-oe/recipes-devtools/nodejs/nodejs/enable-armv5e-build.patch delete mode 100644 meta-oe/recipes-devtools/nodejs/nodejs4/libev-cross-cc_0.4.12.patch delete mode 100644 meta-oe/recipes-devtools/nodejs/nodejs4_0.4.12.bb rename meta-oe/recipes-devtools/nodejs/{nodejs_0.12.7.bb => nodejs_4.2.3.bb} (81%) -- 2.6.0.rc3 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core