summaryrefslogtreecommitdiff
path: root/eclass/kogaion-kernel.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/kogaion-kernel.eclass')
-rw-r--r--eclass/kogaion-kernel.eclass8
1 files changed, 8 insertions, 0 deletions
diff --git a/eclass/kogaion-kernel.eclass b/eclass/kogaion-kernel.eclass
index 5e346ad2..ba02cd1d 100644
--- a/eclass/kogaion-kernel.eclass
+++ b/eclass/kogaion-kernel.eclass
@@ -223,6 +223,10 @@ _get_real_kv_full() {
# Linux 3.x support, KV_FULL is set to: 3.0-kogaion
# need to add another final .0 to the version part
echo "${ORIGINAL_KV_FULL/-/.0-}"
+ elif [[ "${OKV/.*}" = "4" ]]; then
+ # Linux 4.x support, KV_FULL is set to: 4.0-kogaion
+ # need to add another final .0 to the version part
+ echo "${ORIGINAL_KV_FULL/-/.0-}"
else
echo "${ORIGINAL_KV_FULL}"
fi
@@ -771,6 +775,10 @@ _get_release_level() {
# Linux 3.x support, KV_FULL is set to: 3.0-kogaion
# need to add another final .0 to the version part
echo "${KV_FULL/-/.0-}"
+ elif [[ "${OKV/.*}" = "4" ]] && [[ "${KV_PATCH}" = "0" ]]; then
+ # Linux 4.x support, KV_FULL is set to: 4.0-kogaion
+ # need to add another final .0 to the version part
+ echo "${KV_FULL/-/.0-}"
else
echo "${KV_FULL}"
fi