summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 54ed7f71f9..5e4cdd458c 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -31,7 +31,9 @@ PACKAGES_DYNAMIC += "kernel-firmware-*"
31export OS = "${TARGET_OS}" 31export OS = "${TARGET_OS}"
32export CROSS_COMPILE = "${TARGET_PREFIX}" 32export CROSS_COMPILE = "${TARGET_PREFIX}"
33 33
34KERNEL_PRIORITY = "${@d.getVar('PV',1).split('-')[0].split('.')[-1]}" 34KERNEL_PRIORITY ?= "${@int(d.getVar('PV',1).split('-')[0].split('+')[0].split('.')[0]) * 10000 + \
35 int(d.getVar('PV',1).split('-')[0].split('+')[0].split('.')[1]) * 100 + \
36 int(d.getVar('PV',1).split('-')[0].split('+')[0].split('.')[-1])}"
35 37
36KERNEL_RELEASE ?= "${KERNEL_VERSION}" 38KERNEL_RELEASE ?= "${KERNEL_VERSION}"
37 39