[Buildroot] : How to add a path to environment variable ?

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Jan 21 19:47:41 UTC 2021


Hello,

On Thu, 21 Jan 2021 18:02:39 +0100
manu f <e.fiancette at gmail.com> wrote:

> Thanks for your suggestion!
> in the last buildroot version, nodejs is deprecated!
> So I use my own compiled version of nodejs.

Deprecated ? We definitely still have a nodejs package, and it's not
deprecated at all.

> about etc/profile.d , I was just working on it, so its confirm this is the
> good way.
> But I was thinking there was a way to add natively the path ac buildroot
> compilation time. sorry I am newby.

In fact, you can also tweak the option BR2_SYSTEM_DEFAULT_PATH which
sets the default PATH value.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list