[dpdk-dev] [PATCH 0/3] RFC: Support disabling DPDK drivers in meson builds
Bruce Richardson
bruce.richardson at intel.com
Wed Sep 25 16:55:28 CEST 2019
Following on from the discussion about meson at userspace 2019, here is
a patchset which allows a user to disable drivers in a DPDK build. This
set also includes the changes necessary to recursively disable any
drivers that depend upon the disabled one, e.g. disabling mempool/dpaa
also disables net/dpaa and event/dpaa with suitable reasons provided in
the output summary at the end of the meson configuration phase.
A number of changes are made to the lib/meson.build file too, in order
to keep the general logic flow between drivers/meson.build and
lib/meson.build as similar as possible.
Example of use:
meson -Ddisable_drivers=mempool/dpaa,net/i40e build
Bruce Richardson (3):
build: align variable names between drivers and libs
build: process dependencies before main build check
build: support disabling drivers with meson
drivers/meson.build | 45 +++++++++++++++++++++++++++------------------
lib/meson.build | 23 +++++++++++++----------
meson_options.txt | 2 ++
3 files changed, 42 insertions(+), 28 deletions(-)
--
2.21.0
More information about the dev
mailing list