summaryrefslogtreecommitdiff
path: root/eclass/linux-build.eclass
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2016-08-28 17:52:04 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2016-08-28 17:55:30 +0100
commitbfd9afd28b1c59be0216fe8b2ffbabf7c0b7e4a7 (patch)
treefd6fd5e020b44decc518fa2dca40ff7f3f2f5da3 /eclass/linux-build.eclass
parentdev-util/coverity: Version bump (diff)
downloadportage-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.eclass2
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[@]}"