commit:     ce61defb031a6fd37090e5dfb80acae5793e2d31
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 26 18:20:28 2016 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Sun Nov 27 23:14:49 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce61defb

kernel-2.eclass: Remove call to KV_to_int. See bug #587318.

 eclass/kernel-2.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 1398c0c..c171940 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -681,7 +681,7 @@ compile_headers() {
                # if K_DEFCONFIG isn't set, force to "defconfig"
                # needed by mips
                if [[ -z ${K_DEFCONFIG} ]]; then
-                       if [[ $(KV_to_int ${KV}) -ge $(KV_to_int 2.6.16) ]]; 
then
+                       if kernel_is ge 2 6 16 ; then
                                case ${CTARGET} in
                                        powerpc64*)     
K_DEFCONFIG="ppc64_defconfig";;
                                        powerpc*)       
K_DEFCONFIG="pmac32_defconfig";;

Reply via email to