most: apply conditional backport patch for kernels older than 4.13 39/14239/7
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Mon, 9 Jul 2018 21:52:49 +0000 (23:52 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 24 Jul 2018 23:28:05 +0000 (23:28 +0000)
commita9bdd84705dcdd96d35216b2f3c646e98c44663c
tree5a04a344b7c2cf231252c5bac13bd693400d2e51
parentfbe6821e41c00fe33ebcbefdf900bd2f64b2c9c3
most: apply conditional backport patch for kernels older than 4.13

This patch makes the recipe apply a backport patch on systems
running a kernel older than 4.13.
It is needed to avoid build errors due to API changes.

v2 (jsmoeller): rewrite as KERNEL_VERSION is not available at parsing stage
                This requires quite some plumbing and the maxkver (and minkver) should
                probably go upstream.
                For now we draft this up here as a bbappend.

Change-Id: I48f75f6e98c7b6b4e92b6e43bc3743a5ec3fbbf7
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
meta-agl-profile-core/recipes-kernel/most/most.bbappend