[oe-commits] Graeme Gregory : omap3-sgx-modules_1.3.13.1607.bb : add 2.6. 31 patch building, only for

git version control git at git.openembedded.org
Wed Sep 23 21:38:03 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: d3a0ec7e1088f861d293819da9f30c7b8d12a8d8
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d3a0ec7e1088f861d293819da9f30c7b8d12a8d8

Author: Graeme Gregory <dp at xora.org.uk>
Date:   Wed Sep 23 22:37:27 2009 +0100

omap3-sgx-modules_1.3.13.1607.bb : add 2.6.31 patch building, only for
omapzoom2 at the moment.

---

 .../omap3-sgx-modules/proc-interface.patch         |   20 ++++++++++++++++++++
 .../omap3-sgx-modules_1.3.13.1607.bb               |    2 ++
 2 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/recipes/powervr-drivers/omap3-sgx-modules/proc-interface.patch b/recipes/powervr-drivers/omap3-sgx-modules/proc-interface.patch
new file mode 100644
index 0000000..831b3ed
--- /dev/null
+++ b/recipes/powervr-drivers/omap3-sgx-modules/proc-interface.patch
@@ -0,0 +1,20 @@
+Index: omap3-sgx-modules-1.3.13.1607/services4/srvkm/env/linux/proc.c
+===================================================================
+--- omap3-sgx-modules-1.3.13.1607.orig/services4/srvkm/env/linux/proc.c
++++ omap3-sgx-modules-1.3.13.1607/services4/srvkm/env/linux/proc.c
+@@ -134,7 +134,6 @@ int CreateProcEntry(const char * name, r
+ 
+     if (file)
+     {
+-        file->owner = THIS_MODULE;
+ 		file->read_proc = rhandler;
+ 		file->write_proc = whandler;
+ 		file->data = data;
+@@ -165,7 +164,6 @@ int CreateProcReadEntry(const char * nam
+ 
+     if (file)
+     {
+-        file->owner = THIS_MODULE;
+ 
+         return 0;
+     }
diff --git a/recipes/powervr-drivers/omap3-sgx-modules_1.3.13.1607.bb b/recipes/powervr-drivers/omap3-sgx-modules_1.3.13.1607.bb
index 8e4d2a2..c58c25c 100644
--- a/recipes/powervr-drivers/omap3-sgx-modules_1.3.13.1607.bb
+++ b/recipes/powervr-drivers/omap3-sgx-modules_1.3.13.1607.bb
@@ -9,6 +9,8 @@ SRC_URI = "file://omap3-sgx-modules-${PV}.tar.bz2 \
            file://build_es3.x_sgx.patch;patch=1 \
 "
 
+SRC_URI_append_omapzoom2 = " file://proc-interface.patch;patch=1"
+
 PVRBUILD = "release"
 
 MAKE_TARGETS = " BUILD=${PVRBUILD}"





More information about the Openembedded-commits mailing list