mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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>
This commit is contained in:
parent
55cb2ec6db
commit
80cf5e0ee9
|
|
@ -70,7 +70,7 @@ do_configure_append () {
|
|||
#define NETMAP_LINUX_HAVE_E1000E_DOWN2
|
||||
EOF
|
||||
|
||||
if ${@ 'false' if (bb.utils.vercmp_string(d.getVar('KERNEL_VERSION', True), '3.17') < 0) else 'true' } ; then
|
||||
if ${@ 'false' if (bb.utils.vercmp_string(d.getVar('KERNEL_VERSION', True) or "0", '3.17') < 0) else 'true' } ; then
|
||||
echo OK
|
||||
cat >> ${S}/LINUX/netmap_linux_config.h <<EOF
|
||||
#define NETMAP_LINUX_ALLOC_NETDEV_4ARGS
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user