diff options
author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2016-08-28 17:52:04 +0100 |
---|---|---|
committer | Bertrand Jacquin <bertrand@jacquin.bzh> | 2016-08-28 17:55:30 +0100 |
commit | bfd9afd28b1c59be0216fe8b2ffbabf7c0b7e4a7 (patch) | |
tree | fd6fd5e020b44decc518fa2dca40ff7f3f2f5da3 /eclass/linux-build.eclass | |
parent | dev-util/coverity: Version bump (diff) | |
download | portage-bfd9afd28b1c59be0216fe8b2ffbabf7c0b7e4a7.tar.xz |
eclass/linux-build: Use kernel_is instead of KV comparison
Diffstat (limited to 'eclass/linux-build.eclass')
-rw-r--r-- | eclass/linux-build.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/linux-build.eclass b/eclass/linux-build.eclass index d3f98b97..109a937e 100644 --- a/eclass/linux-build.eclass +++ b/eclass/linux-build.eclass @@ -230,7 +230,7 @@ _linux-build_src_prepare_build() { fi einfo "Checking configuration file" - if (( KV_MAJOR <= 3 && KV_MINOR <= 5 )); then + if kernel_is -le 3 5 ; then emake oldnoconfig "${myopt[@]}" else emake olddefconfig "${myopt[@]}" |