Move set_kernel_arch() call to after determine_real_args() so that get_KV() has populated the vars we need

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@634 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Andrew Gaffney 17 years ago
parent 4bda5b0631
commit d117f014dd

@ -2,6 +2,10 @@
# Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2 # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $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: 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 Change powerpc switch kernel version to 2.6.16 for if we ever uncomment it

@ -99,7 +99,6 @@ echo
# Set ${ARCH} # Set ${ARCH}
get_official_arch get_official_arch
set_kernel_arch
# Read arch-specific config # Read arch-specific config
source ${ARCH_CONFIG} || gen_die "Could not read ${ARCH_CONFIG}" source ${ARCH_CONFIG} || gen_die "Could not read ${ARCH_CONFIG}"
@ -119,6 +118,8 @@ done
determine_real_args determine_real_args
set_kernel_arch
[ ! -f "${TEMP}" ] && mkdir -p "${TEMP}" [ ! -f "${TEMP}" ] && mkdir -p "${TEMP}"
setup_cache_dir setup_cache_dir

Loading…
Cancel
Save