Fix for bug 97672. Call get_KV to get the KV after the prepare has been run
authorEric Edgar <rocket@gentoo.org>
Wed, 13 Jul 2005 18:12:52 +0000 (18:12 +0000)
committerEric Edgar <rocket@gentoo.org>
Wed, 13 Jul 2005 18:12:52 +0000 (18:12 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@255 67a159dc-881f-0410-a524-ba9dfbe2cb84

genkernel

index 120a07bd204800fd45fb0560cd29cec655a1af49..529d59cd7e7779a95fa0f073268fc679c043eacf 100755 (executable)
--- a/genkernel
+++ b/genkernel
@@ -178,9 +178,6 @@ then
        # Configure kernel
        config_kernel
        
-       # KV may have changed due to the configuration
-       get_KV
-
        # Make deps
        compile_dep
 
@@ -189,6 +186,9 @@ then
        then
                [ "${VER}" -gt '2' ] || [ "${VER}" -eq '2' -a "${PAT}" -ge '6' ] && compile_generic prepare kernel
        fi
+       
+       # KV may have changed due to the configuration
+       get_KV
 
        # Compile kernel
        [ "${GENERATE_Z_IMAGE}" = '' ] && compile_kernel