[dpdk-dev] [PATCH v2] kernel/linux: fix kernel dir for meson

Bruce Richardson bruce.richardson at intel.com
Tue Dec 3 11:11:40 CET 2019


On Tue, Dec 03, 2019 at 01:29:17PM +0800, Xiaolong Ye wrote:
> kernel_dir option in meson build is equivalent to RTE_KERNELDIR in make
> system, for cross-compilation case, users would specify it as local
> kernel src dir like
> 
> /<user local dir>/target-arm_glibc/linux-arm/linux-4.19.81/
> 
> Current meson build would fail to compile kernel module if user specify
> kernel_dir as above, this patch fixes this issue.
> 
> Fixes: 317832f97c16 ("kernel/linux: fix modules install path")
> Cc: stable at dpdk.org
> Cc: iryzhov at nfware.com
> 
> Signed-off-by: Xiaolong Ye <xiaolong.ye at intel.com>
> ---
> 
> V2 changes:
> 
> 1. handle both normal and cross-compilation cases
> 
We need to handle both, but they need to be handled without breaking the
currently working case where we pass in /lib/modules/$(uname -r)/ as the
kerneldir path.

/Bruce


More information about the dev mailing list