summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bevitt <cyfred@gentoo.org>2004-04-16 11:18:36 +0000
committerAndrew Bevitt <cyfred@gentoo.org>2004-04-16 11:18:36 +0000
commit02626dfa957195eff6891ed6d6995e6cc6685dfe (patch)
tree0e19ade4287237a8ec3d6cab1b1381c2e099b72f /media-video/nvidia-kernel/nvidia-kernel-1.0.4496-r3.ebuild
parentBug 22008 (diff)
downloadhistorical-02626dfa957195eff6891ed6d6995e6cc6685dfe.tar.gz
historical-02626dfa957195eff6891ed6d6995e6cc6685dfe.tar.bz2
historical-02626dfa957195eff6891ed6d6995e6cc6685dfe.zip
Adding support for .ko modules to 4363 and 4496 see bug #45560
Diffstat (limited to 'media-video/nvidia-kernel/nvidia-kernel-1.0.4496-r3.ebuild')
-rw-r--r--media-video/nvidia-kernel/nvidia-kernel-1.0.4496-r3.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/media-video/nvidia-kernel/nvidia-kernel-1.0.4496-r3.ebuild b/media-video/nvidia-kernel/nvidia-kernel-1.0.4496-r3.ebuild
index e8f9283d2e13..f74dccde15cc 100644
--- a/media-video/nvidia-kernel/nvidia-kernel-1.0.4496-r3.ebuild
+++ b/media-video/nvidia-kernel/nvidia-kernel-1.0.4496-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-kernel/nvidia-kernel-1.0.4496-r3.ebuild,v 1.5 2004/01/29 09:55:36 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-kernel/nvidia-kernel-1.0.4496-r3.ebuild,v 1.6 2004/04/16 11:18:36 cyfred Exp $
inherit eutils
@@ -123,7 +123,12 @@ src_compile() {
src_install() {
# The driver goes into the standard modules location
insinto /lib/modules/${KV}/video
- doins nvidia.o
+ if is_kernel 2 5 || is_kernel 2 6
+ then
+ newins nvidia.o nvidia.ko
+ else
+ doins nvidia.o
+ fi
# Add the aliases
insinto /etc/modules.d