[yocto] [meta-dpdk][PATCH] dpdk: support usrmerge

Changqing Li changqing.li at windriver.com
Fri Aug 30 00:07:19 PDT 2019


On 8/30/19 2:43 PM, Mittal, Anuj wrote:
> On Fri, 2019-08-30 at 13:58 +0800, changqing.li at windriver.com wrote:
>> -export
>> MODULE_DIR="/lib/modules/${KERNEL_VERSION}/kernel/drivers/net"
>> +export MODULE_DIR="${@bb.utils.contains('DISTRO_FEATURES','usrmerge'
>> ,'/usr','',d)}/lib/modules/${KERNEL_VERSION}/kernel/drivers/net"
>>   export RTE_SDK = "${S}"
>>   
> Should this be:
>
> MODULE_DIR =
> "${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net"
>
> It should then be handled automatically. Can you please check?
you are right,  it can write like this. I will send a V2
>
> Thanks,
>
> Anuj

-- 
BRs

Sandy(Li Changqing)



More information about the yocto mailing list