summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorSibelle <lesibel@free.fr>2011-06-25 12:47:47 +0200
committerSibelle <lesibel@free.fr>2011-06-25 12:47:47 +0200
commit52505ed1ed12cc78ad9f6763e97c685f2bce1c67 (patch)
treed7725660e661525bf9be3a0531ca1734b14c8c98 /base
parentc0bf9e0051cb836ce0a4ac309cab44dbee08b0cc (diff)
downloadnutyx-pakxe-52505ed1ed12cc78ad9f6763e97c685f2bce1c67.tar.gz
nutyx-pakxe-52505ed1ed12cc78ad9f6763e97c685f2bce1c67.tar.bz2
nutyx-pakxe-52505ed1ed12cc78ad9f6763e97c685f2bce1c67.tar.xz
nutyx-pakxe-52505ed1ed12cc78ad9f6763e97c685f2bce1c67.zip
nvidia 275.09.07-2 avec les modules c'est mieux
Diffstat (limited to 'base')
-rw-r--r--base/nvidia/.footprint.i6867
-rw-r--r--base/nvidia/.footprint.x86_647
-rwxr-xr-xbase/nvidia/Pkgfile11
3 files changed, 24 insertions, 1 deletions
diff --git a/base/nvidia/.footprint.i686 b/base/nvidia/.footprint.i686
index 3656cb1b0..d772c5586 100644
--- a/base/nvidia/.footprint.i686
+++ b/base/nvidia/.footprint.i686
@@ -2,6 +2,13 @@ drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/X11/
drwxr-xr-x root/root etc/X11/xorg.conf.d/
-rw-r--r-- root/root etc/X11/xorg.conf.d/30-nvidia.conf
+drwxr-xr-x root/root lib/
+drwxr-xr-x root/root lib/modules/
+drwxr-xr-x root/root lib/modules/<kernel-version>/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/video/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/video/nvidia/
+-rw-r--r-- root/root lib/modules/<kernel-version>/kernel/video/nvidia/nvidia.ko
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/X11/
diff --git a/base/nvidia/.footprint.x86_64 b/base/nvidia/.footprint.x86_64
index 3656cb1b0..d772c5586 100644
--- a/base/nvidia/.footprint.x86_64
+++ b/base/nvidia/.footprint.x86_64
@@ -2,6 +2,13 @@ drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/X11/
drwxr-xr-x root/root etc/X11/xorg.conf.d/
-rw-r--r-- root/root etc/X11/xorg.conf.d/30-nvidia.conf
+drwxr-xr-x root/root lib/
+drwxr-xr-x root/root lib/modules/
+drwxr-xr-x root/root lib/modules/<kernel-version>/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/video/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/video/nvidia/
+-rw-r--r-- root/root lib/modules/<kernel-version>/kernel/video/nvidia/nvidia.ko
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/X11/
diff --git a/base/nvidia/Pkgfile b/base/nvidia/Pkgfile
index 2ec032019..ecc64ca17 100755
--- a/base/nvidia/Pkgfile
+++ b/base/nvidia/Pkgfile
@@ -5,7 +5,7 @@
name=nvidia
version=275.09.07
-release=1
+release=2
[ "`uname -m`" == "i686" ] && _ARCH=x86
[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64
source=(ftp://download.nvidia.com/XFree86/Linux-${_ARCH}/$version/NVIDIA-Linux-${_ARCH}-$version.run)
@@ -35,6 +35,15 @@ build() {
install -m 0755 libglx.so.$version $PKG/usr/lib/X11/modules/extensions
ln -s libglx.so.$version $PKG/usr/lib/X11/modules/extensions/libglx.so
install -m 0755 libnvidia-wfb.so.$version $PKG/usr/lib/X11/modules
+ # build the module
+ cd kernel
+
+ ln -s Makefile{.kbuild,}
+ IGNORE_CC_MISMATCH=1 make module
+
+ # install it
+ install -m 0644 -D nvidia.ko \
+ $PKG/lib/modules/`uname -r`/kernel/video/nvidia/nvidia.ko
# xorg config
mkdir -p $PKG/etc/X11/xorg.conf.d
cat > $PKG/etc/X11/xorg.conf.d/30-nvidia.conf << "EOF"