diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2006-09-04 00:19:50 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2006-09-04 00:19:50 +0000 |
commit | e9de2cad5b89b9d3ea8d155cba7aa533e2b81512 (patch) | |
tree | ec744877457874bba998e9df9ec3b366488f49fb /eclass/kernel-2.eclass | |
parent | Stable x86 (diff) | |
download | historical-e9de2cad5b89b9d3ea8d155cba7aa533e2b81512.tar.gz historical-e9de2cad5b89b9d3ea8d155cba7aa533e2b81512.tar.bz2 historical-e9de2cad5b89b9d3ea8d155cba7aa533e2b81512.zip |
Make it pick the right defconfig
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 39d5bfabcd19..6c1402f1a8db 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.189 2006/08/05 18:28:35 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.190 2006/09/04 00:19:50 lu_zero Exp $ # Description: kernel.eclass rewrite for a clean base regarding the 2.6 # series of kernel with back-compatibility for 2.4 @@ -431,7 +431,11 @@ compile_headers() { # if K_DEFCONFIG isn't set, force to "defconfig" # needed by mips if [[ -z ${K_DEFCONFIG} ]]; then - K_DEFCONFIG="defconfig" + case ${CTARGET} in + powerpc64*) K_DEFCONFIG="ppc64_defconfig";; + powerpc) K_DEFCONFIG="pmac32_defconfig";; + *) K_DEFCONFIG="defconfig";; + esac fi # if there arent any installed headers, then there also isnt an asm |