public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 1/1] kernel-2.eclass: Remove call to KV_to_int. See bug #587318.
@ 2016-11-27 16:09 Mike Pagano
  0 siblings, 0 replies; only message in thread
From: Mike Pagano @ 2016-11-27 16:09 UTC (permalink / raw
  To: gentoo-dev

KV_to_int usage should be removed.
Tracker bug is at: 384041 and kernel-2.eclass bug is at 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";;
-- 2.7.3



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-27 16:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-27 16:09 [gentoo-dev] [PATCH 1/1] kernel-2.eclass: Remove call to KV_to_int. See bug #587318 Mike Pagano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox