diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-02 10:34:05 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-06-08 14:55:27 +0200 |
commit | 80cf5e0ee961436fbcb2fa2c03cb709f79fa9e3c (patch) | |
tree | a86f62dd2dbf13dca2c72c67cf3c7a517a1b3c72 /meta-networking | |
parent | 55cb2ec6db42e43c601f77bf4f03fb3a43725b24 (diff) | |
download | meta-openembedded-80cf5e0ee961436fbcb2fa2c03cb709f79fa9e3c.tar.gz |
netmap-modules: Avoid type warning with python v3
Python 3 is stricter about type comparisions, this avoids warnings.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-kernel/netmap/netmap-modules_git.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb b/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb index 406a4f3cff..6544bb5db7 100644 --- a/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb +++ b/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb | |||
@@ -70,7 +70,7 @@ do_configure_append () { | |||
70 | #define NETMAP_LINUX_HAVE_E1000E_DOWN2 | 70 | #define NETMAP_LINUX_HAVE_E1000E_DOWN2 |
71 | EOF | 71 | EOF |
72 | 72 | ||
73 | if ${@ 'false' if (bb.utils.vercmp_string(d.getVar('KERNEL_VERSION', True), '3.17') < 0) else 'true' } ; then | 73 | if ${@ 'false' if (bb.utils.vercmp_string(d.getVar('KERNEL_VERSION', True) or "0", '3.17') < 0) else 'true' } ; then |
74 | echo OK | 74 | echo OK |
75 | cat >> ${S}/LINUX/netmap_linux_config.h <<EOF | 75 | cat >> ${S}/LINUX/netmap_linux_config.h <<EOF |
76 | #define NETMAP_LINUX_ALLOC_NETDEV_4ARGS | 76 | #define NETMAP_LINUX_ALLOC_NETDEV_4ARGS |