summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2006-09-04 00:19:50 +0000
committerLuca Barbato <lu_zero@gentoo.org>2006-09-04 00:19:50 +0000
commit8eca21a898a419fa6cc2aeab5b58f709e00ad1bc (patch)
tree0da99310038e63f4838e0d5ac967b9599e97f617 /eclass/kernel-2.eclass
parentStable x86 (diff)
downloadgentoo-2-8eca21a898a419fa6cc2aeab5b58f709e00ad1bc.tar.gz
gentoo-2-8eca21a898a419fa6cc2aeab5b58f709e00ad1bc.tar.bz2
gentoo-2-8eca21a898a419fa6cc2aeab5b58f709e00ad1bc.zip
Make it pick the right defconfig
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r--eclass/kernel-2.eclass8
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