diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/kernel.bbclass | 4 |
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-*" | |||
31 | export OS = "${TARGET_OS}" | 31 | export OS = "${TARGET_OS}" |
32 | export CROSS_COMPILE = "${TARGET_PREFIX}" | 32 | export CROSS_COMPILE = "${TARGET_PREFIX}" |
33 | 33 | ||
34 | KERNEL_PRIORITY = "${@d.getVar('PV',1).split('-')[0].split('.')[-1]}" | 34 | KERNEL_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 | ||
36 | KERNEL_RELEASE ?= "${KERNEL_VERSION}" | 38 | KERNEL_RELEASE ?= "${KERNEL_VERSION}" |
37 | 39 | ||