summaryrefslogtreecommitdiff
path: root/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild')
-rw-r--r--system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild b/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild
index 8b48c3c9eb..ad1af699e1 100644
--- a/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild
+++ b/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild
@@ -23,13 +23,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Thanks to Robby Workman for suggestions to improve this script.
-#
# See changelog.txt
PRGNAM=nvidia-legacy304-kernel
VERSION=${VERSION:-304.131}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
KERNEL=${KERNEL:-$(uname -r)}
@@ -79,6 +77,8 @@ find -L . \
cd kernel || exit 1
+patch -p1 < $CWD/disable-mtrr.patch || exit 1
+
make SYSSRC=$KERNELPATH module || exit 1
mkdir -p $PKG/lib/modules/$KERNEL/kernel/drivers/video