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
commit90b467316055e84c1c3e610a049f088d80639243 (patch)
tree4a34fdbd7d5818973a0172aa200a441eb2d02e04 /eclass
parentinsert gentoo patchset # into version (diff)
downloadhistorical-90b467316055e84c1c3e610a049f088d80639243.tar.gz
historical-90b467316055e84c1c3e610a049f088d80639243.tar.bz2
historical-90b467316055e84c1c3e610a049f088d80639243.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