Re: [dpdk-dev] [PATCH 1/2] build: fix kernel compile on cross-build

2018-04-19 Thread Hemant Agrawal
> > > -Original Message- > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce > > > Richardson > > > > > > When cross-compiling, if no kernel_dir was specified, then the > > > kernel modules were still being compiled for the build machine. Fix > > > this by only building modules

Re: [dpdk-dev] [PATCH 1/2] build: fix kernel compile on cross-build

2018-04-19 Thread Bruce Richardson
On Thu, Apr 19, 2018 at 03:46:14PM +, Hemant Agrawal wrote: > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce Richardson > > > > When cross-compiling, if no kernel_dir was specified, then the kernel > > modules > > were still being compiled for the

Re: [dpdk-dev] [PATCH 1/2] build: fix kernel compile on cross-build

2018-04-19 Thread Hemant Agrawal
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce Richardson > > When cross-compiling, if no kernel_dir was specified, then the kernel modules > were still being compiled for the build machine. Fix this by only building > modules > on cross-compile when we

[dpdk-dev] [PATCH 1/2] build: fix kernel compile on cross-build

2018-04-18 Thread Bruce Richardson
When cross-compiling, if no kernel_dir was specified, then the kernel modules were still being compiled for the build machine. Fix this by only building modules on cross-compile when we have a kernel_dir value set. Fixes: a52f4574f798 ("igb_uio: build with meson") Signed-off-by: Bruce Richardson