netmap-modules: fix compilation failure
PATCH 1/1 netmap-modules: fix compilation failure
If CONFIG_IXGBE is enabled in kernel. This package fails to build with error messages like below.
| #error "unsupported ixgbe driver version"
| ^
.......
error: request for member 'count' in something not a structure or union
| na.num_rx_desc = NM_IXGBE_RX_RING(adapter, 0)->count; | ^ | cc1: some warnings being treated as errors
Fix this problem by disabling igxbe driver in netmap-modules.
Signed-off-by Chen Qi <[email protected]>
--- meta-networking/recipes-kernel/netmap/netmap-modules_git.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-kernel/netmap/netmap-modules_git.bb +2 -0
@@ -15,6 +15,8 @@ EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \ --driver-suffix="-netmap" \ " +EXTRA_OECONF += "--no-drivers=ixgbe" + LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,-O1', '')}" LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,--as-needed', '')}"
Signature · 1 line
1.9.1