Re: [dpdk-dev] [PATCH v5] build: use platform option for generic and native

2021-04-22 Thread Wang, Yinan
com; Richardson, Bruce > ; honnappa.nagaraha...@arm.com; > ruifeng.w...@arm.com; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v5] build: use platform option for generic > and native > > > > > -Original Message- > > From: Thomas Monjalon > > Sent:

Re: [dpdk-dev] [PATCH v5] build: use platform option for generic and native

2021-04-21 Thread Juraj Linkeš
> -Original Message- > From: Thomas Monjalon > Sent: Tuesday, April 20, 2021 10:36 AM > To: Juraj Linkeš > Cc: david.march...@redhat.com; bruce.richard...@intel.com; > honnappa.nagaraha...@arm.com; ruifeng.w...@arm.com; dev@dpdk.org > Subject: Re: [PATCH v5] build: use platform option f

Re: [dpdk-dev] [PATCH v5] build: use platform option for generic and native

2021-04-20 Thread Thomas Monjalon
20/04/2021 10:16, Juraj Linkeš: > > option('platform', type: 'string', value: '', > > - description: 'use configuration for a particular platform (such as a > > SoC).') > > +option('platform', type: 'string', value: 'generic', > > + description: 'Platform to build, either "native", "generic" o

Re: [dpdk-dev] [PATCH v5] build: use platform option for generic and native

2021-04-20 Thread Juraj Linkeš
> -Original Message- > From: Juraj Linkeš > Sent: Tuesday, April 20, 2021 10:08 AM > To: tho...@monjalon.net; david.march...@redhat.com; > bruce.richard...@intel.com; honnappa.nagaraha...@arm.com; > ruifeng.w...@arm.com > Cc: dev@dpdk.org; Juraj Linkeš > Subject: [PATCH v5] build: use p

[dpdk-dev] [PATCH v5] build: use platform option for generic and native

2021-04-20 Thread Juraj Linkeš
The current meson option 'machine' should only specify the ISA, which is not sufficient for Arm, where setting ISA implies other setting as well. Use the existing 'platform' meson option to differentiate the type of the build (native/generic) and set machine accordingly, unless the user chooses to