[meta-freescale] [meta-fsl-arm][RFC PATCH] libimxvpuapi: use libdir from cross environment

Max Krummenacher max.oss.09 at gmail.com
Fri Jun 24 08:20:00 PDT 2016


Hi Otavio

2016-06-24 16:49 GMT+02:00 Otavio Salvador <otavio.salvador at ossystems.com.br>:
> On Thu, Jun 23, 2016 at 7:52 PM, Max Krummenacher <max.oss.09 at gmail.com> wrote:
>> Pass $libdir to 'waf configure' to prevent using the build hosts libdir.
>>
>> Fixes:
>> WARNING: libimxvpuapi-0.10.2-r0 do_package: QA Issue: libimxvpuapi: Files/directories were installed but not shipped in any package:
>>   /usr/lib64/libimxvpuapi.so
>>   /usr/lib64/libimxvpuapi.so.0
>>   /usr/lib64/libimxvpuapi.so.0.10.2
>>   /usr/lib64/pkgconfig
>>   /usr/lib64/pkgconfig/libimxvpuapi.pc
>>
>> Signed-off-by: Max Krummenacher <max.krummenacher at toradex.com>
>
> I agree with the fix however I think this ought to be done on the waf class, no?

I'm unsure.
My understanding is that if the wscript file uses
<var>.load('gnu_dirs') then waf evaluates the --libdir <dir> parameter
given.

If that is true then one should not move the directory configuration
to the waf class, as each project may or may not have the
load('gnu_dirs')

https://github.com/Freescale/libimxvpuapi/blob/master/wscript#L61

It looks that samba also uses waf and the waf-samba.bbclass is
actually doing what you propose:
http://cgit.openembedded.org/meta-openembedded/tree/meta-networking/classes/waf-samba.bbclass

I'll check some more and report back.

Max


More information about the meta-freescale mailing list