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

2021-02-09 Thread Bruce Richardson
On Tue, Feb 09, 2021 at 12:07:13PM +, Juraj Linkeš wrote: > > > > -Original Message- > > From: Bruce Richardson > > Sent: Tuesday, February 9, 2021 12:51 PM > > To: Juraj Linkeš > > Cc: tho...@monjalon.net; ruifeng.w...@arm.com; > > honnappa.nagaraha...@arm.com; jerinjac...@gmail.co

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

2021-02-09 Thread Juraj Linkeš
> -Original Message- > From: Bruce Richardson > Sent: Tuesday, February 9, 2021 12:51 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

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

2021-02-09 Thread Bruce Richardson
On Tue, Feb 09, 2021 at 09:47:05AM +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] [PATCH v5] build: kni cross-compilation support

2021-02-09 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