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

Mittal, Anuj anuj.mittal at intel.com
Thu Aug 29 23:43:36 PDT 2019


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?

Thanks,

Anuj


More information about the yocto mailing list