[OE-core] [PATCH] waf.bbclass: explicitly pass libdir

Burton, Ross ross.burton at intel.com
Mon Dec 11 17:09:31 UTC 2017


On 11 December 2017 at 15:37, Joshua Watt <jpewhacker at gmail.com> wrote:

> Vanilla waf only supports --prefix, --libdir, and --bindir. Anything else
> is a result of loading the gnu_dirs tool, which not all projects are
> required to do.
>
>
> Sorry, hit send too soo: waf (at least version 2.0) also errors out on
> unknown options. I think the three I listed are the only ones we can do
> generically. There might be some way to easily adding the rest if you know
> waf is loading gnu_dirs
>

One option would be for waf.bbclass to check if WAF_USES_GNU_DIRS is set
(defaulting to 0) and pass the full set of path options automatically.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20171211/2c7bd8c1/attachment-0002.html>


More information about the Openembedded-core mailing list