nvidia: Add patch for 2.6.25 compatibility.
This commit is contained in:
parent
d64d9a840e
commit
a2ed605686
@ -1,2 +1,3 @@
|
||||
e7aaca79c846e34cfe8111040bfee2d0 NVIDIA-Linux-x86-169.12-pkg0.run
|
||||
a6b6d9d7ff0306343be3fa40e72337fd nvidia-169.12-2.6.25.patch
|
||||
544ac021f572c0aca5025dcca9d01510 nvidia-makefile.patch
|
||||
|
@ -6,9 +6,10 @@
|
||||
|
||||
name=nvidia
|
||||
version=169.12
|
||||
release=1
|
||||
release=2
|
||||
source=(http://download.nvidia.com/XFree86/Linux-x86/$version/NVIDIA-Linux-x86-$version-pkg0.run \
|
||||
$name-makefile.patch)
|
||||
$name-makefile.patch
|
||||
$name-$version-2.6.25.patch)
|
||||
|
||||
build() {
|
||||
sh NVIDIA-Linux-x86-$version-pkg0.run --extract-only
|
||||
@ -16,6 +17,9 @@ build() {
|
||||
|
||||
# patch Makefile.kbuild for normal users and no load during build
|
||||
patch -p0 -i $SRC/$name-makefile.patch usr/src/nv/Makefile.kbuild
|
||||
# Allow stable version to build with kernel's equal to or greater than
|
||||
# 2.6.25
|
||||
patch -p0 -i $SRC/$name-$version-2.6.25.patch
|
||||
|
||||
# create directories the Makefile expects
|
||||
mkdir -p $PKG/usr/lib \
|
||||
|
Loading…
x
Reference in New Issue
Block a user