summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefanCristian <steven.darklight@gmail.com>2016-02-06 07:04:22 +0200
committerStefanCristian <steven.darklight@gmail.com>2016-02-06 07:04:22 +0200
commitcd10150385edc3ce220f5e0f3bbd0a32a8607560 (patch)
tree07c54c859a1734689968b32b96b1d31c11ba21cb
parent38184a0499105ec0532843b0bb2d7b6e3298d747 (diff)
adding 4.x kernel support
-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