[OE-core] [PATCH] waf.bbclass: explicitly pass libdir
Otavio Salvador
otavio.salvador at ossystems.com.br
Mon Dec 11 17:15:44 UTC 2017
On Mon, Dec 11, 2017 at 3:09 PM, Burton, Ross <ross.burton at intel.com> wrote:
> 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.
Possible. But passing the standard ones solve 99% of the issues.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the Openembedded-core
mailing list