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

2021-01-31 Thread Juraj Linkeš
> -Original Message- > From: Bruce Richardson > Sent: Friday, January 29, 2021 4:40 PM > To: Juraj Linkeš > Cc: tho...@monjalon.net; ruifeng.w...@arm.com; jerinjac...@gmail.com; > hemant.agra...@nxp.com; ferruh.yi...@intel.com; abo...@pensando.io; > dev@dpdk.org > Subject: Re: [RFC PATC

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

2021-01-29 Thread Bruce Richardson
On Fri, Jan 29, 2021 at 03:17:02PM +, Juraj Linkeš wrote: > > > > -Original Message- > > From: Bruce Richardson > > Sent: Friday, January 29, 2021 4:01 PM > > To: Juraj Linkeš > > Cc: tho...@monjalon.net; ruifeng.w...@arm.com; jerinjac...@gmail.com; > > hemant.agra...@nxp.com; ferru

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

2021-01-29 Thread Juraj Linkeš
> -Original Message- > From: Bruce Richardson > Sent: Friday, January 29, 2021 4:01 PM > To: Juraj Linkeš > Cc: tho...@monjalon.net; ruifeng.w...@arm.com; jerinjac...@gmail.com; > hemant.agra...@nxp.com; ferruh.yi...@intel.com; abo...@pensando.io; > dev@dpdk.org > Subject: Re: [RFC PATC

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

2021-01-29 Thread Bruce Richardson
On Fri, Jan 29, 2021 at 02:47:57PM +, Juraj Linkeš wrote: > > > > -Original Message- > > From: Bruce Richardson > > Sent: Friday, January 29, 2021 3:42 PM > > To: Juraj Linkeš > > Cc: tho...@monjalon.net; ruifeng.w...@arm.com; jerinjac...@gmail.com; > > hemant.agra...@nxp.com; ferru

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

2021-01-29 Thread Juraj Linkeš
> -Original Message- > From: Bruce Richardson > Sent: Friday, January 29, 2021 3:42 PM > To: Juraj Linkeš > Cc: tho...@monjalon.net; ruifeng.w...@arm.com; jerinjac...@gmail.com; > hemant.agra...@nxp.com; ferruh.yi...@intel.com; abo...@pensando.io; > dev@dpdk.org > Subject: Re: [RFC PATC

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

2021-01-29 Thread Bruce Richardson
On Fri, Jan 29, 2021 at 02:36:58PM +, Juraj Linkeš wrote: > > > > -Original Message- > > From: Bruce Richardson > > Sent: Friday, January 29, 2021 2:51 PM > > To: Juraj Linkeš > > Cc: tho...@monjalon.net; ruifeng.w...@arm.com; jerinjac...@gmail.com; > > hemant.agra...@nxp.com; ferru

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

2021-01-29 Thread Juraj Linkeš
> -Original Message- > From: Bruce Richardson > Sent: Friday, January 29, 2021 2:51 PM > To: Juraj Linkeš > Cc: tho...@monjalon.net; ruifeng.w...@arm.com; jerinjac...@gmail.com; > hemant.agra...@nxp.com; ferruh.yi...@intel.com; abo...@pensando.io; > dev@dpdk.org > Subject: Re: [RFC PATC

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

2021-01-29 Thread Bruce Richardson
On Fri, Jan 29, 2021 at 12:33:06PM +, Juraj Linkeš wrote: > > > > -Original Message- > > From: Bruce Richardson > > Sent: Friday, January 29, 2021 12:44 PM > > To: Juraj Linkeš > > Cc: tho...@monjalon.net; ruifeng.w...@arm.com; jerinjac...@gmail.com; > > hemant.agra...@nxp.com; ferr

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

2021-01-29 Thread Juraj Linkeš
> -Original Message- > From: Bruce Richardson > Sent: Friday, January 29, 2021 12:44 PM > To: Juraj Linkeš > Cc: tho...@monjalon.net; ruifeng.w...@arm.com; jerinjac...@gmail.com; > hemant.agra...@nxp.com; ferruh.yi...@intel.com; abo...@pensando.io; > dev@dpdk.org > Subject: Re: [RFC PAT

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

2021-01-29 Thread Bruce Richardson
On Fri, Jan 29, 2021 at 11:29:19AM +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 and CROSS_COMPILE. Get those from the cross file > and pass them to the

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

2021-01-29 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 and CROSS_COMPILE. Get those from the cross file and pass them to the custom target. The user supplied path may not contain the 'build' di