Move set_kernel_arch() call to after determine_real_args() so that get_KV() has popul...
authorAndrew Gaffney <agaffney@gentoo.org>
Thu, 13 Mar 2008 04:11:00 +0000 (04:11 +0000)
committerAndrew Gaffney <agaffney@gentoo.org>
Thu, 13 Mar 2008 04:11:00 +0000 (04:11 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@634 67a159dc-881f-0410-a524-ba9dfbe2cb84

ChangeLog
genkernel

index 925aa6b29467ea2869abfcd4b7392ca8fea52853..f3c4c14bc9ed2b84eb0273862acb624e9ec28dd9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> genkernel:
+  Move set_kernel_arch() call to after determine_real_args() so that get_KV()
+  has populated the vars we need
+
   13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_arch.sh:
   Change powerpc switch kernel version to 2.6.16 for if we ever uncomment it
 
index 47a378c68ba8f71ee8a429a5e81fca5428583af3..30608b53fb25c88e16f5a48961e79a670da8a5a5 100755 (executable)
--- a/genkernel
+++ b/genkernel
@@ -99,7 +99,6 @@ echo
 
 # Set ${ARCH}
 get_official_arch
-set_kernel_arch
 
 # Read arch-specific config
 source ${ARCH_CONFIG} || gen_die "Could not read ${ARCH_CONFIG}"
@@ -119,6 +118,8 @@ done
 
 determine_real_args
 
+set_kernel_arch
+
 [ ! -f "${TEMP}" ] && mkdir -p "${TEMP}"
 
 setup_cache_dir