summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-01-05 03:21:56 +0000
committerAchim Gottinger <achim@gentoo.org>2001-01-05 03:21:56 +0000
commit98bb9b387eb8d5cb488192b16adff7385d71f6e9 (patch)
treefce91d5ad7a5556ff3081cf3b99a898229235ec4 /sys-kernel
parentmeep (diff)
downloadgentoo-2-98bb9b387eb8d5cb488192b16adff7385d71f6e9.tar.gz
gentoo-2-98bb9b387eb8d5cb488192b16adff7385d71f6e9.tar.bz2
gentoo-2-98bb9b387eb8d5cb488192b16adff7385d71f6e9.zip
*** empty log message ***
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/linux/linux-2.4.0_rc103.ebuild40
1 files changed, 9 insertions, 31 deletions
diff --git a/sys-kernel/linux/linux-2.4.0_rc103.ebuild b/sys-kernel/linux/linux-2.4.0_rc103.ebuild
index 5a95ce95f8ee..1356466e4c5b 100644
--- a/sys-kernel/linux/linux-2.4.0_rc103.ebuild
+++ b/sys-kernel/linux/linux-2.4.0_rc103.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux/linux-2.4.0_rc103.ebuild,v 1.2 2001/01/02 17:59:47 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux/linux-2.4.0_rc103.ebuild,v 1.3 2001/01/05 03:21:56 achim Exp $
S=${WORKDIR}/linux
KV=2.4.0-prerelease-ac3
@@ -110,14 +110,6 @@ src_compile() {
cd ${S}
try make symlinks
try make dep
- #time to do the special symlink tweak
- if [ -e /usr/src/linux ]
- then
- readlink /usr/src/linux > ${T}/linuxlink
- fi
- rm /usr/src/linux
- ( cd /usr/src; ln -s ${S} linux )
- #symlink tweak in place
cd ${S}/fs/reiserfs/utils
try make
@@ -133,29 +125,14 @@ src_compile() {
cd ${S}
try make bzImage
try make modules
- cd ${S}/extras/NVIDIA_kernel-0.9-5
- make NVdriver
+ #cd ${S}/extras/NVIDIA_kernel-0.9-5
+ #make NVdriver
cd ${S}/extras/alsa-driver-0.5.10
try ./configure --with-kernel=${S} --with-isapnp=yes --with-sequencer=yes --with-oss=yes \
- --with-cards=\
- share,dummy,virmidi,interwave,interwave-stb,\
- gusmax,gusextreme,gusclassic,es1688, es18xx,\
- sb8,sb16,sbawe,emu10k1,opl3sa2,mozart,\
- sonicvibes,ens1370,ens1371,ad1816a,ad1848,\
- als100,als4000,azt2320,cs4231,cs4232,cs4236,\
- cs4281,cs461x,cs4281,es968,dt0197h,fm801,\
- es1938,es1968,opti92x-ad1848,opti92x-cs4231,\
- opti93x,serial,trident,sgalaxy,\
- hal2,cmi8330,mtpav,rme96,rme9652,ice1712,\
- intel8x0,via686a,cmipci,ymfpci,maestro3
+ --with-cards=share,dummy,virmidi,interwave,interwave-stb,gusmax,gusextreme,gusclassic,es1688,es18xx,sb8,sb16,sbawe,emu10k1,opl3sa2,mozart,sonicvibes,ens1370,ens1371,ad1816a,ad1848,als100,als4000,azt2320,cs4231,cs4232,cs4236,cs4281,cs461x,cs4281,es968,dt0197h,fm801,es1938,es1968,opti92x-ad1848,opti92x-cs4231,opti93x,serial,trident,sgalaxy,hal2,cmi8330,mtpav,rme96,rme9652,ice1712,intel8x0,via686a,cmipci,ymfpci,maestro3
# "wavefront" is buggy in 0.5.10
try make
fi
- #untweak the symlink
- if [ -e ${T}/linuxlink ]
- then
- ( cd /usr/src; rm linux; ln -s `cat ${T}/linuxlink` linux )
- fi
}
src_install() {
cd ${S}/fs/reiserfs/utils
@@ -196,7 +173,8 @@ src_install() {
cd ${S}
doins arch/i386/boot/bzImage
#grab modules
- dodir /lib/modules/2.4.0-prerelease-ac1
+ dodir /lib/modules/`/bin/uname -r`
+ dodir /lib/modules/2.4.0-prerelease-ac3
try make INSTALL_MOD_PATH=${D} modules_install
#install ALSA modules
cd ${S}/extras/alsa-driver-0.5.10
@@ -209,9 +187,9 @@ src_install() {
cd include
doins asound.h asoundid.h asequencer.h ainstr_*.h
#install nvidia driver
- cd ${S}/extras/NVIDIA_kernel-0.9-5
- insinto /lib/modules/${KV}/video
- doins NVdriver
+# cd ${S}/extras/NVIDIA_kernel-0.9-5
+# insinto /lib/modules/${KV}/video
+# doins NVdriver
#fix symlink
cd ${D}/lib/modules/${KV}
rm build