kernel-2.eclass: Remove call to KV_to_int. See bug #587318.
authorMike Pagano <mpagano@gentoo.org>
Sat, 26 Nov 2016 18:20:28 +0000 (13:20 -0500)
committerMike Pagano <mpagano@gentoo.org>
Sun, 27 Nov 2016 23:14:49 +0000 (18:14 -0500)
eclass/kernel-2.eclass

index 1398c0cad3fd5af1cef050b9d1cf32a18f7b19ae..c1719409ad89f43304d8a228ee27ce9b93367999 100644 (file)
@@ -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";;