summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/classes/kernel.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass
index 41a741f9a..02d0ca547 100644
--- a/meta-oe/classes/kernel.bbclass
+++ b/meta-oe/classes/kernel.bbclass
@@ -36,7 +36,9 @@ PACKAGES_DYNAMIC += "kernel-firmware-*"
36export OS = "${TARGET_OS}" 36export OS = "${TARGET_OS}"
37export CROSS_COMPILE = "${TARGET_PREFIX}" 37export CROSS_COMPILE = "${TARGET_PREFIX}"
38 38
39KERNEL_PRIORITY = "${@d.getVar('PV',1).split('-')[0].split('.')[-1]}" 39KERNEL_PRIORITY ?= "${@int(d.getVar('PV',1).split('-')[0].split('+')[0].split('.')[0]) * 10000 + \
40 int(d.getVar('PV',1).split('-')[0].split('+')[0].split('.')[1]) * 100 + \
41 int(d.getVar('PV',1).split('-')[0].split('+')[0].split('.')[-1])}"
40 42
41KERNEL_RELEASE ?= "${KERNEL_VERSION}" 43KERNEL_RELEASE ?= "${KERNEL_VERSION}"
42 44