mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-04 16:10:10 +00:00
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 <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
parent
e8557c2d8d
commit
9e75e3d136
|
|
@ -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', '')}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user