[dpdk-dev] [PATCH] config: remove NFP PMD from 32-bits builds

Bruce Richardson bruce.richardson at intel.com
Tue Jan 15 11:39:31 CET 2019


On Mon, Jan 14, 2019 at 08:04:00PM +0100, Thomas Monjalon wrote:
> 14/01/2019 19:12, Alejandro Lucero:
> > Signed-off-by: Alejandro Lucero <alejandro.lucero at netronome.com>
> > ---
> >  config/defconfig_i686-native-linuxapp-gcc    | 5 +++++
> >  config/defconfig_i686-native-linuxapp-icc    | 5 +++++
> >  config/defconfig_x86_x32-native-linuxapp-gcc | 5 +++++
> >  3 files changed, 15 insertions(+)
> 
> You forgot config/defconfig_arm-armv7a-linuxapp-gcc.
> 
> Applied with change for armv7, thanks
> 
> PS: It makes me think we have no way to disable some PMDs
> for 32-bit with meson. Bruce, any idea?
> 
Put something similar to below in the meson.build file for the driver:

if not dpdk_conf.has('RTE_ARCH_64')
	build = false
endif

For drivers which don't already have a condition check you can simplify to:

build = (dpdk_conf.has('RTE_ARCH_64'))

/Bruce


More information about the dev mailing list