dpdk: Disable building FreeBSD kernel modules 44/40644/2
authorTom Jones <thj@freebsd.org>
Thu, 1 Feb 2024 16:07:54 +0000 (16:07 +0000)
committerDamjan Marion <dmarion@0xa5.net>
Wed, 24 Apr 2024 11:33:45 +0000 (11:33 +0000)
Disable building the FreeBSD kernel modules, while these are required
to run, this dpdk step will fails inside the vpp build.

If the build succeeded this step would try to install the kernel modules
as root in the vpp build which also isn't desirable. For packaging the
kernel modules should be provided in a seperate package rather than
through the vpp build process.

Type: improvement
Change-Id: I01f1ae2845445e2babad380b675054b80d4b325b
Signed-off-by: Tom Jones <thj@freebsd.org>
build/external/packages/dpdk.mk

index 2c5a903..f72f338 100644 (file)
@@ -172,6 +172,7 @@ DPDK_MESON_ARGS = \
        -Db_pie=true \
        -Dmachine=$(DPDK_MACHINE) \
        --buildtype=$(DPDK_BUILD_TYPE) \
+       -Denable_kmods=false \
        ${DPDK_MLX_CONFIG_FLAG}
 
 PIP_DOWNLOAD_DIR = $(CURDIR)/downloads/