aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/nodejs
AgeCommit message (Collapse)Author
2011-07-19nodejs: Add patch to compile with GCC 4.3.3chase maupin
* Add a patch to nodejs to allow compiling with GCC versions less than or equal to 4.3.3. * Define the function nodejs_get_gcc_ver to allow applying the patch conditionally based on compiler version. * Patch based on post at https://github.com/joyent/node/issues/883 Signed-off-by: Chase Maupin <Chase.Maupin@ti.com> Signed-off-by: Koen Kooi <koen@openembedded.org>
2011-05-14nodejs: Make configure script not use host libutilPatrik Dahlström
Without this patch the configure script of nodejs-0.4.2 will use host libs for libutil. Excerpt from build/config.log: Checking for library util ==> int main() { return 0; } <== [1/2] cxx: build/.conf_check_0/test.cpp -> build/.conf_check_0/testbuild/default/test_1.o ['arm-angstrom-linux-gnueabi-g++', '-march=armv7-a', '-mtune=cortex-a8', '-mfpu=neon', '-mfloat-abi=softfp', '-mthumb-interwork', '-mno-thumb', '--sysroot=/home/bitbake/build/tmp_beagleboard/sysroots/armv7a-angstrom-linux-gnueabi', '-fexpensive-optimizations', '-fomit-frame-pointer', '-frename-registers', '-O2', '-ggdb2', '-fpermissive', '-fvisibility-inlines-hidden', '-DHAVE_OPENSSL=1', '../test.cpp', '-c', '-o', 'default/test_1.o'] [2/2] cxx_link: build/.conf_check_0/testbuild/default/test_1.o -> build/.conf_check_0/testbuild/default/testprog /usr/lib/libutil.so: file not recognized: File format not recognized collect2: ld returned 1 exit status ['arm-angstrom-linux-gnueabi-g++', '-march=armv7-a', '-mtune=cortex-a8', '-mfpu=neon', '-mfloat-abi=softfp', '-mthumb-interwork', '-mno-thumb', '--sysroot=/home/bitbake/build/tmp_beagleboard/sysroots/armv7a-angstrom-linux-gnueabi', 'default/test_1.o', '-o', '/home/bitbake/build/tmp_beagleboard/work/armv7a-angstrom-linux-gnueabi/nodejs-0.4.2-r0/node-v0.4.2/build/.conf_check_0/testbuild/default/testprog', '-Wl,-O1', '-Wl,--hash-style=gnu', '-L/usr/lib', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lutil'] command returned 'Build failed: -> task failed (err #1): \n\t{task: cxx_link test_1.o -> testprog}'not found It is strange how the configure script still continues even though it didn't find some of its dependencies. Eventually the build will fail with: default/src/node_stdio_4.o: In function `node::OpenPTY(v8::Arguments const&)': /home/bitbake/build/tmp_beagleboard/work/armv7a-angstrom-linux-gnueabi/nodejs-0.4.2-r0/node-v0.4.2/build/../src/node_stdio.cc:241: undefined reference to `openpty' collect2: ld returned 1 exit status Signed-off-by: Patrik Dahlström <patda293@student.liu.se> Acked-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Eric Bénard <eric@eukrea.com>
2011-03-13nodejs: update to 0.4.2Eric Bénard
Signed-off-by: Eric Bénard <eric@eukrea.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2011-02-17nodejs: add 0.4.0Eric Bénard
compile tested for armv5, previous node-cross-cc_0.2.6.patch doesn't seems anymore necessary unless I made a mistake, AJ may you please check this point ? Signed-off-by: Eric Bénard <eric@eukrea.com> Cc: AJ ONeal <coolaj86@gmail.com> Acked-by: Khem Raj <raj.khem@gmail.com> Tested-by: AJ ONeal <coolaj86@gmail.com>
2011-02-11nodejs: updated to 0.2.6AJ ONeal
* added version number to patches * libev-cross-cc_0.2.6.patch - turns off execution so that cross-compile succeeds * node-cross-cc_0.2.6.patch - enables cross-compiling of v8 for x86, x86_64, arm, and mips Signed-off-by: AJ ONeal <coolaj86@gmail.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-09-21nodejs: add native supportCliff Brake
2010-09-16nodejs 0.2.1: fix regressions introduced by 0.2.0 -> 0.2.1 upgradeKoen Kooi
please be more carefull next time!
2010-09-15nodejs: replaced v0.2.0 with v0.2.1AJ ONeal
* now includes node-waf and node-repl * updated pathname in libev-cross-cc and libev-cross-cc * removed patch which is no longer necessary (applied upstream) Signed-off-by: AJ ONeal <coolaj86@gmail.com>
2010-09-07nodejs: fix recipeKoen Kooi
* fix configure * fix do_install * fix packaging
2010-09-07added recipe for nodejsAJ ONeal
Signed-off-by: Koen Kooi <koen@openembedded.org>