aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/nvidia-drivers/nvidia-display-190.42/nvidia-oe-conftest.patch
diff options
context:
space:
mode:
authorLeon Woestenberg <leon@sidebranch.com>2009-11-22 01:17:08 +0100
committerLeon Woestenberg <leon@sidebranch.com>2009-11-22 01:17:44 +0100
commitc652a59cbb2f103a6397fce327b4753d7c5e7b10 (patch)
treee881d2129f12d8b738cb16a6c4c53a5616cf10df /recipes/nvidia-drivers/nvidia-display-190.42/nvidia-oe-conftest.patch
parentcfacd3ac608b00a8b25f5de21681a300de53878c (diff)
downloadopenembedded-c652a59cbb2f103a6397fce327b4753d7c5e7b10.tar.gz
openembedded-c652a59cbb2f103a6397fce327b4753d7c5e7b10.tar.bz2
openembedded-c652a59cbb2f103a6397fce327b4753d7c5e7b10.zip
nvidia-display: Added 190.42 release. Builds but packaging needs clean-up.
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
Diffstat (limited to 'recipes/nvidia-drivers/nvidia-display-190.42/nvidia-oe-conftest.patch')
-rw-r--r--recipes/nvidia-drivers/nvidia-display-190.42/nvidia-oe-conftest.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes/nvidia-drivers/nvidia-display-190.42/nvidia-oe-conftest.patch b/recipes/nvidia-drivers/nvidia-display-190.42/nvidia-oe-conftest.patch
new file mode 100644
index 0000000000..95cf98036c
--- /dev/null
+++ b/recipes/nvidia-drivers/nvidia-display-190.42/nvidia-oe-conftest.patch
@@ -0,0 +1,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