Hi Otavio
2016-06-24 16:49 GMT+02:00 Otavio Salvador <[email protected]>:
> On Thu, Jun 23, 2016 at 7:52 PM, Max Krummenacher <[email protected]>
> 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 <[email protected]>
>
> 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
--
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale