openvswitch: rework skipping intree kmod build for unsupported kernels
authorYousong Zhou <yszhou4tech@gmail.com>
Thu, 20 Jun 2019 03:22:45 +0000 (03:22 +0000)
committerYousong Zhou <yszhou4tech@gmail.com>
Thu, 20 Jun 2019 08:24:55 +0000 (08:24 +0000)
commita6ec885522ced8185cfe66c0ab467d902f043b65
tree9cf232b514e07d8405a662d0e0f9217fd0cc5736
parentd1517aa627619563a8d51c3ee550042aa7c35207
openvswitch: rework skipping intree kmod build for unsupported kernels

This is a workaround to prevent the whole build from failing because of
the intree kmods are not supported yet by upstream project.

Root cause is that kernel version should not play a part when making
DEPENDS as the generated kconfig was for all targets that may have
different kernel versions.

One less than ideal effect of this change is that for an unsupported
kernel version, people can still select the intree kmod but it won't be
built.  This may contradict expectation if the warning was not noticed
by them

Resolves openwrt/packages#9274

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
net/openvswitch/Makefile