summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-10-24 23:45:35 +0000
committerMike Frysinger <vapier@gentoo.org>2006-10-24 23:45:35 +0000
commit67073ebb4fce10e00c1701a4d67cce2c476b3f03 (patch)
tree45a5186cb31501e72b988af3d433a8a3b57e7202 /eclass
parentinsert gentoo patchset # into version (diff)
downloadgentoo-2-67073ebb4fce10e00c1701a4d67cce2c476b3f03.tar.gz
gentoo-2-67073ebb4fce10e00c1701a4d67cce2c476b3f03.tar.bz2
gentoo-2-67073ebb4fce10e00c1701a4d67cce2c476b3f03.zip
dont install sound/scsi headers #152392
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-2.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 779602dda581..ed3d14b7d9e1 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.195 2006/10/24 23:43:07 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.196 2006/10/24 23:45:35 vapier Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -494,6 +494,10 @@ install_headers() {
if kernel_is ge 2 6 18 ; then
env_setup_xmakeopts
emake headers_install INSTALL_HDR_PATH="${D}"/${ddir}/.. ${xmakeopts} || die
+
+ # let other packages install some of these headers
+ rm -rf "${D}"/${ddir}/sound #alsa-headers
+ rm -rf "${D}"/${ddir}/scsi #glibc/uclibc/etc...
return 0
fi