diff options
author | Qi.Chen@windriver.com <Qi.Chen@windriver.com> | 2015-10-08 13:02:49 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2015-10-21 15:59:03 -0400 |
commit | 9e75e3d136b83194496c3791cc9b43767c5a4396 (patch) | |
tree | 275cd7b07d83cf79cff7a09d1a5f803555dd52a2 /meta-networking/recipes-kernel | |
parent | e8557c2d8da74c5e40151afc5cbbb1d9996c72dc (diff) | |
download | meta-openembedded-9e75e3d136b83194496c3791cc9b43767c5a4396.tar.gz |
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>
Diffstat (limited to 'meta-networking/recipes-kernel')
-rw-r--r-- | meta-networking/recipes-kernel/netmap/netmap-modules_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb b/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb index f9ac9ccda..c1c319d7a 100644 --- a/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb +++ b/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb | |||
@@ -15,6 +15,8 @@ EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \ | |||
15 | --driver-suffix="-netmap" \ | 15 | --driver-suffix="-netmap" \ |
16 | " | 16 | " |
17 | 17 | ||
18 | EXTRA_OECONF += "--no-drivers=ixgbe" | ||
19 | |||
18 | LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,-O1', '')}" | 20 | LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,-O1', '')}" |
19 | LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,--as-needed', '')}" | 21 | LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,--as-needed', '')}" |
20 | 22 | ||