diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2006-08-21 16:58:24 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2006-08-21 16:58:24 +0000 |
commit | d534ff8bfa85fd4d552890a8748872eff397ba36 (patch) | |
tree | 53819434a4fac4ef2b9b8628ecd1d05e27fed034 /sys-kernel | |
parent | Fix for endless loop in the bfd_lookup_arch (diff) | |
download | lu_zero-d534ff8bfa85fd4d552890a8748872eff397ba36.tar.gz lu_zero-d534ff8bfa85fd4d552890a8748872eff397ba36.tar.bz2 lu_zero-d534ff8bfa85fd4d552890a8748872eff397ba36.zip |
Update&redigest
svn path=/; revision=52
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/linux-headers/linux-headers-2.6.16-r1.ebuild | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/sys-kernel/linux-headers/linux-headers-2.6.16-r1.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.16-r1.ebuild index 5e08648..2e978d8 100644 --- a/sys-kernel/linux-headers/linux-headers-2.6.16-r1.ebuild +++ b/sys-kernel/linux-headers/linux-headers-2.6.16-r1.ebuild @@ -1,17 +1,17 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.16.ebuild,v 1.6 2006/07/02 06:34:09 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.16.ebuild,v 1.2 2006/04/18 15:39:32 plasmaroo Exp $ ETYPE="headers" H_SUPPORTEDARCH="alpha amd64 arm hppa m68k ia64 ppc ppc64 s390 sh sparc x86" -inherit eutils multilib kernel-2 +inherit eutils kernel-2 multilib detect_version -PATCHES_V='3' +PATCHES_V='2' SRC_URI="${KERNEL_URI} mirror://gentoo/linux-2.6.11-m68k-headers.patch.bz2 http://dev.gentoo.org/~plasmaroo/patches/kernel/gentoo-headers/gentoo-headers-${PV}-${PATCHES_V}.tar.bz2" -KEYWORDS="-* ~amd64 ~ppc64" +KEYWORDS="-*" DEPEND="ppc? ( gcc64? ( sys-devel/gcc-powerpc64 ) ) sparc? ( gcc64? ( sys-devel/gcc-sparc64 ) )" @@ -31,7 +31,6 @@ wrap_headers_fix() { src_unpack() { ABI=${KERNEL_ABI} - kernel-2_src_unpack # This should always be used but it has a bunch of hunks which @@ -41,7 +40,10 @@ src_unpack() { # Get headers to bootstrap on PPC if use ppc; then - cp arch/powerpc/configs/pmac32_defconfig arch/powerpc/configs/ppc_defconfig + K_DEFCONFIG=pmac32_defconfig + fi + if use ppc64; then + K_DEFCONFIG=ppc64_defconfig fi # Fixes ... all the wrapper magic is to keep sed from dumping @@ -51,10 +53,3 @@ src_unpack() { wrap_headers_fix asm-* linux einfo "... done" } - -src_compile() { - - [[ ${CTARGET} == spu* ]] \ - && CTARGET=powerpc64-unknown-linux-gnu - kernel-2_src_compile -} |