[PATCH 3/3] build: support disabling drivers with meson
Morten Brørup
mb at smartsharesystems.com
Thu Jan 6 09:23:28 CET 2022
> From: Bruce Richardson [mailto:bruce.richardson at intel.com]
> Sent: Wednesday, 25 September 2019 16.56
>
> Add support for a new build option to turn off certain drivers. Any
> other
> drivers which depend on the one being disabled will also be disabled
> with a
> suitable debug message.
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
Hi Bruce,
I was trying something along the lines of:
meson configure -Ddisable_drivers=net/* -Denable_drivers=net/i40e
But it seems that enable_drivers does not override disable_drivers. Ninja says:
[...]
net/hinic: not in enabled drivers build config
net/hns3: not in enabled drivers build config
net/i40e: explicitly disabled via build config
net/iavf: not in enabled drivers build config
[...]
Could you please fix that?
Also, since all sorts of exotic libraries are continuously being added to DPDK, it would be nice to have a similar Meson option for libs, i.e. enable_libs to override disable_libs=*.
Med venlig hilsen / Kind regards,
-Morten Brørup
More information about the dev
mailing list