Commit 84420e83 authored by Darek Stojaczyk's avatar Darek Stojaczyk Committed by Ben Walker
Browse files

dpdkbuild: fix CONFIG_RTE_BUILD_SHARED_LIB



We commented out this build option in our DPDK fork,
but DPDK makefiles check its value specifically against
'n' to set linking flags properly. It's currently unset,
so it fails both == 'n' and == 'y' checks, which fails
the build. Shared lib build has some issues on FreeBSD
right now, so to fix the immediate problem, just define
the shared lib option to 'n' for now.

This matches the original behavior. We've always built
DPDK as a static library.

Change-Id: I5a880b777153cc169c3a135d412aa2014f4de8e0
Signed-off-by: default avatarDarek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/463290


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarPaul Luse <paul.e.luse@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
parent ba3db1d2
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -40,6 +40,12 @@ DPDK_FRAMEWORK = n
DPDK_OPTS =
DPDK_CFLAGS =

# We commented out this build option in our DPDK fork, but DPDK makefiles check
# its value specifically against 'n' to set linking flags properly. Set it here
# to 'n' for now.
# TODO allow DPDK to be built as shared library
DPDK_OPTS += CONFIG_RTE_BUILD_SHARED_LIB=n

ifeq ($(CONFIG_CRYPTO),y)
DPDK_FRAMEWORK = y
DPDK_OPTS += CONFIG_RTE_LIBRTE_PMD_AESNI_MB=y