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

2021-02-05 Thread Thomas Monjalon
05/02/2021 10:38, Bruce Richardson: > On Fri, Feb 05, 2021 at 09:26:05AM +, Juraj Linkeš wrote: > > From: Bruce Richardson > > > The block for cross-compiling is fairly large and complex, so I'm > > > wondering how > > > we can simplify things a bit. If we had multiple kernel modules I'd > >

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

2021-02-05 Thread Bruce Richardson
On Fri, Feb 05, 2021 at 09:26:05AM +, Juraj Linkeš wrote: > > > > -Original Message- > > From: Bruce Richardson > > Sent: Thursday, February 4, 2021 6:34 PM > > To: Juraj Linkeš > > Cc: tho...@monjalon.net; ruifeng.w...@arm.com; > > honnappa.nagaraha...@arm.com; jerinjac...@gmail.co

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

2021-02-05 Thread Bruce Richardson
On Fri, Feb 05, 2021 at 09:26:05AM +, Juraj Linkeš wrote: > > > > -Original Message- > > From: Bruce Richardson > > Sent: Thursday, February 4, 2021 6:34 PM > > To: Juraj Linkeš > > Cc: tho...@monjalon.net; ruifeng.w...@arm.com; > > honnappa.nagaraha...@arm.com; jerinjac...@gmail.co

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

2021-02-05 Thread Juraj Linkeš
> -Original Message- > From: Bruce Richardson > Sent: Thursday, February 4, 2021 6:34 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] [RFC PATCH v2] build: kni cross-compilation support

2021-02-04 Thread Bruce Richardson
On Thu, Feb 04, 2021 at 10:51:41AM +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