summaryrefslogtreecommitdiff
path: root/recipes/nvidia-drivers/nvidia-display-190.42/nvidia-oe-conftest.patch
blob: 95cf98036c71f80b861f37f24ca53c776dbed3fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Index: nv/Makefile.kbuild
===================================================================
--- nv.orig/Makefile.kbuild	2009-10-21 06:04:11.000000000 +0200
+++ nv/Makefile.kbuild	2009-11-22 00:55:06.000000000 +0100
@@ -284,19 +284,16 @@
 # sufficient privileges. Rebuild the module dependency file.
 #
 
-module-install: suser-sanity-check module
+module-install: module
 	@mkdir -p $(MODULE_ROOT)/video; \
-	install -m 0664 -o root -g root $(MODULE_OBJECT) $(MODULE_ROOT)/video; \
-	PATH="$(PATH):/bin:/sbin" depmod -ae;
+	install -m 0664 $(MODULE_OBJECT) $(MODULE_ROOT)/video;
 
 #
 # This target builds, then installs, then creates device nodes and inserts
 # the module, if successful.
 #
 
-package-install: module-install rmmod-sanity-check
-	PATH="$(PATH):/bin:/sbin" modprobe $(MODULE_NAME) && \
-	echo "$(MODULE_OBJECT) installed successfully.";
+package-install: module-install
 
 #
 # Build an object file suitable for further processing by the installer and