From cd10150385edc3ce220f5e0f3bbd0a32a8607560 Mon Sep 17 00:00:00 2001 From: StefanCristian Date: Sat, 6 Feb 2016 07:04:22 +0200 Subject: adding 4.x kernel support --- eclass/kogaion-kernel.eclass | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'eclass') 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 -- cgit v1.2.3