Fix {PPC+Catalyst+Pegasos} build failure regression.
authorTim Yamin <plasmaroo@gentoo.org>
Fri, 18 Nov 2005 23:38:20 +0000 (23:38 +0000)
committerTim Yamin <plasmaroo@gentoo.org>
Fri, 18 Nov 2005 23:38:20 +0000 (23:38 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@323 67a159dc-881f-0410-a524-ba9dfbe2cb84

genkernel

index e6623971bc78f07f06aca75e57dbfdda28c47e1e..1726eedb52d9457727a663f8c5facc2c4f4859cc 100755 (executable)
--- a/genkernel
+++ b/genkernel
@@ -189,7 +189,6 @@ fi
 #      echo
 #fi
 
-
 KERNCACHE_IS_VALID=0
 if [ "${KERNCACHE}" != "" ] 
 then
@@ -231,7 +230,7 @@ then
        fi
        if [ "${KERNCACHE}" != "" ]
        then
-               if [ "${MIPS_EMBEDDED_IMAGE}" = "" ]
+               if [ "${GENERATE_Z_IMAGE}" = '' -a "${MIPS_EMBEDDED_IMAGE}" = '' ]
                then
                        gen_kerncache
                fi