[PATCH v3 2/2] build: export dpdk_includes for subproject usage.
Bruce Richardson
bruce.richardson at intel.com
Thu Oct 13 18:38:59 CEST 2022
On Thu, Oct 13, 2022 at 05:35:39PM +0200, Markus Theil wrote:
> From: Thorben Roemer <thorben.roemer at secunet.com>
>
> In order to perform things like LTO more easily in
> our DPDK applications, we use DPDK as a meson subproject.
> Also export includes in order to be usable in this context.
>
> Signed-off-by: Thorben Roemer <thorben.roemer at secunet.com>
> ---
> drivers/baseband/fpga_5gnr_fec/meson.build | 2 ++
> drivers/dma/dpaa2/meson.build | 2 ++
> drivers/event/dlb2/meson.build | 2 ++
> drivers/mempool/dpaa2/meson.build | 2 ++
> drivers/net/atlantic/meson.build | 2 ++
> drivers/net/bnxt/meson.build | 2 ++
> drivers/net/bonding/meson.build | 2 ++
> drivers/net/cnxk/meson.build | 2 ++
> drivers/net/dpaa/meson.build | 2 ++
> drivers/net/dpaa2/meson.build | 2 ++
> drivers/net/i40e/meson.build | 2 ++
> drivers/net/iavf/meson.build | 2 ++
> drivers/net/ixgbe/meson.build | 2 ++
> drivers/net/memif/meson.build | 2 ++
> drivers/net/mlx5/meson.build | 2 ++
> drivers/net/ring/meson.build | 2 ++
> drivers/net/softnic/meson.build | 2 ++
> drivers/net/vhost/meson.build | 2 ++
> drivers/raw/cnxk_bphy/meson.build | 2 ++
> drivers/raw/cnxk_gpio/meson.build | 2 ++
> drivers/raw/dpaa2_cmdif/meson.build | 2 ++
> drivers/raw/ifpga/meson.build | 2 ++
> drivers/raw/ntb/meson.build | 2 ++
> lib/meson.build | 1 +
> meson.build | 1 +
> 25 files changed, 48 insertions(+)
>
Rather than changing all these meson.build files, I think we should be able
to check in drivers/meson.build if the "headers" array is empty. If not,
then add the include path, otherwise skip it.
/Bruce
More information about the dev
mailing list