[Buildroot] [PATCH v2 1/1] package/nodejs: fix hard float error

Jörg Krause jkrause at posteo.de
Mon Jan 12 21:35:21 UTC 2015


Thomas,

On Mo, 2015-01-12 at 22:18 +0100, Thomas Petazzoni wrote:
> Dear Jörg Krause,
> 
> On Mon, 12 Jan 2015 21:52:01 +0100, Jörg Krause wrote:
> 
> > +# V8 needs to know what floating point ABI the target is using.
> > +NODEJS_ARM_FP = $(BR2_GCC_TARGET_FLOAT_ABI)
> 
> Since this variable is a string, I've added a $(call qstrip,...), for
> good measure. And then applied your patch, thanks!
> 
> Since you're looking at nodejs, can you have a look at the thread
> http://lists.busybox.net/pipermail/buildroot/2014-November/112880.html
> (which contains one patch), and send an updated patch series to make
> the necessary modifications? They looked good in principle, but not
> nicely separated in multiple patches.

I've already looked at this:
http://lists.busybox.net/pipermail/buildroot/2014-December/115275.html

In short:
  * newer npm is only installed as a module on the target, but not used
as the package manager for installing the node modules
  * I cannot find any resources about the npm options --target_arch and
--prefix

IMO, the only thing to think about is to use the -g option. This will
install also the binaries of node modules to usr/bin. But I've to check
this.

Jörg




More information about the buildroot mailing list