/[gentoo-x86]/eclass/kernel-2.eclass
Gentoo

Diff of /eclass/kernel-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.197 Revision 1.198
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.197 2006/10/26 06:55:31 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.198 2006/12/02 18:43:37 vapier Exp $
4 4
5# Description: kernel.eclass rewrite for a clean base regarding the 2.6 5# Description: kernel.eclass rewrite for a clean base regarding the 2.6
6# series of kernel with back-compatibility for 2.4 6# series of kernel with back-compatibility for 2.4
7# 7#
8# Maintainer: John Mylchreest <johnm@gentoo.org> 8# Maintainer: John Mylchreest <johnm@gentoo.org>
498 rm -rf "${D}"/${ddir}/sound #alsa-headers 498 rm -rf "${D}"/${ddir}/sound #alsa-headers
499 rm -rf "${D}"/${ddir}/scsi #glibc/uclibc/etc... 499 rm -rf "${D}"/${ddir}/scsi #glibc/uclibc/etc...
500 return 0 500 return 0
501 fi 501 fi
502 502
503 # Do not use "linux/*" as that can cause problems with very long
504 # $S values where the cmdline to cp is too long
503 cd "${S}" 505 cd "${S}"
504 dodir ${ddir}/linux 506 dodir ${ddir}/linux
505 cp -pPR "${S}"/include/linux/* ${D}/${ddir}/linux 507 cp -pPR "${S}"/include/linux "${D}"/${ddir}/ || die
506 rm -rf ${D}/${ddir}/linux/modules 508 rm -rf "${D}"/${ddir}/linux/modules
507 509
508 # Handle multilib headers and crap 510 # Handle multilib headers and crap
509 local multi_dirs="" multi_defs="" 511 local multi_dirs="" multi_defs=""
510 case $(tc-arch-kernel) in 512 case $(tc-arch-kernel) in
511 sparc64) 513 sparc64)

Legend:
Removed from v.1.197  
changed lines
  Added in v.1.198

  ViewVC Help
Powered by ViewVC 1.1.20