Re: [dpdk-dev] [RFC PATCH v4] build: kni cross-compilation support

2021-02-08 Thread Thomas Monjalon
08/02/2021 12:45, Bruce Richardson: > On Mon, Feb 08, 2021 at 12:21:17PM +0100, Thomas Monjalon wrote: > > 08/02/2021 12:05, Bruce Richardson: > > > On Mon, Feb 08, 2021 at 11:56:21AM +0100, Thomas Monjalon wrote: > > > > 08/02/2021 11:26, Bruce Richardson: > > > > > On Mon, Feb 08, 2021 at 10:17:5

Re: [dpdk-dev] [RFC PATCH v4] build: kni cross-compilation support

2021-02-08 Thread Bruce Richardson
On Mon, Feb 08, 2021 at 12:21:17PM +0100, Thomas Monjalon wrote: > 08/02/2021 12:05, Bruce Richardson: > > On Mon, Feb 08, 2021 at 11:56:21AM +0100, Thomas Monjalon wrote: > > > 08/02/2021 11:26, Bruce Richardson: > > > > On Mon, Feb 08, 2021 at 10:17:56AM +, Juraj Linkeš wrote: > > > > > From:

Re: [dpdk-dev] [RFC PATCH v4] build: kni cross-compilation support

2021-02-08 Thread Thomas Monjalon
08/02/2021 12:05, Bruce Richardson: > On Mon, Feb 08, 2021 at 11:56:21AM +0100, Thomas Monjalon wrote: > > 08/02/2021 11:26, Bruce Richardson: > > > On Mon, Feb 08, 2021 at 10:17:56AM +, Juraj Linkeš wrote: > > > > From: Bruce Richardson > > > > > On Fri, Feb 05, 2021 at 04:04:32PM +0100, Jura

Re: [dpdk-dev] [RFC PATCH v4] build: kni cross-compilation support

2021-02-08 Thread Bruce Richardson
On Mon, Feb 08, 2021 at 11:56:21AM +0100, Thomas Monjalon wrote: > 08/02/2021 11:26, Bruce Richardson: > > On Mon, Feb 08, 2021 at 10:17:56AM +, Juraj Linkeš wrote: > > > From: Bruce Richardson > > > > On Fri, Feb 05, 2021 at 04:04:32PM +0100, Juraj Linkeš wrote: > > > > > The kni linux module

Re: [dpdk-dev] [RFC PATCH v4] build: kni cross-compilation support

2021-02-08 Thread Thomas Monjalon
08/02/2021 11:26, Bruce Richardson: > On Mon, Feb 08, 2021 at 10:17:56AM +, Juraj Linkeš wrote: > > From: Bruce Richardson > > > On Fri, Feb 05, 2021 at 04:04:32PM +0100, Juraj Linkeš wrote: > > > > The kni linux module is using a custom target for building, which > > > > doesn't take into acc

Re: [dpdk-dev] [RFC PATCH v4] build: kni cross-compilation support

2021-02-08 Thread Bruce Richardson
On Mon, Feb 08, 2021 at 10:17:56AM +, Juraj Linkeš wrote: > > > > -Original Message- > > From: Bruce Richardson > > Sent: Friday, February 5, 2021 4:27 PM > > To: Juraj Linkeš > > Cc: tho...@monjalon.net; ruifeng.w...@arm.com; > > honnappa.nagaraha...@arm.com; jerinjac...@gmail.com;

Re: [dpdk-dev] [RFC PATCH v4] build: kni cross-compilation support

2021-02-08 Thread Juraj Linkeš
> -Original Message- > From: Bruce Richardson > Sent: Friday, February 5, 2021 4:27 PM > To: Juraj Linkeš > Cc: tho...@monjalon.net; ruifeng.w...@arm.com; > honnappa.nagaraha...@arm.com; jerinjac...@gmail.com; > hemant.agra...@nxp.com; ferruh.yi...@intel.com; abo...@pensando.io; > dev@d

Re: [dpdk-dev] [RFC PATCH v4] build: kni cross-compilation support

2021-02-05 Thread Bruce Richardson
On Fri, Feb 05, 2021 at 04:04:32PM +0100, Juraj Linkeš wrote: > The kni linux module is using a custom target for building, which > doesn't take into account any cross compilation arguments. The arguments > in question are ARCH, CROSS_COMPILE (for gcc, clang) and CC, LD (for > clang). Get those fro

[dpdk-dev] [RFC PATCH v4] build: kni cross-compilation support

2021-02-05 Thread Juraj Linkeš
The kni linux module is using a custom target for building, which doesn't take into account any cross compilation arguments. The arguments in question are ARCH, CROSS_COMPILE (for gcc, clang) and CC, LD (for clang). Get those from the cross file and pass them to the custom target. The user supplie