[oe-commits] Koen Kooi : omap3sgx-modules: sync with .dev

git version control git at git.openembedded.org
Wed May 27 19:32:10 UTC 2009


Module: openembedded.git
Branch: stable/2009
Commit: 0c3538f216b8b6d7474bb0f6ee66f235fe8bc4e5
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0c3538f216b8b6d7474bb0f6ee66f235fe8bc4e5

Author: Koen Kooi <koen at openembedded.org>
Date:   Wed May 27 19:36:27 2009 +0200

omap3sgx-modules: sync with .dev
* update to build against newer kernels
* switch to MACHINE_KERNEL_PR

Acked-by: Philip Balister <philip at balister.org>
Signed-off-by: Koen Kooi <koen at openembedded.org>

---

 .../omap3-sgx-modules_1.3.13.1397.bb               |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/recipes/powervr-drivers/omap3-sgx-modules_1.3.13.1397.bb b/recipes/powervr-drivers/omap3-sgx-modules_1.3.13.1397.bb
index 985a0c0..3f9a3cd 100644
--- a/recipes/powervr-drivers/omap3-sgx-modules_1.3.13.1397.bb
+++ b/recipes/powervr-drivers/omap3-sgx-modules_1.3.13.1397.bb
@@ -1,8 +1,6 @@
 DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
 LICENSE = "GPLv2"
 
-PR = "r6"
-
 inherit module
 
 SRC_URI = "http://dominion.thruhere.net/koen/OE/omap3-sgx-modules-${PV}.tar.bz2 \
@@ -16,7 +14,10 @@ PVRBUILD = "release"
 MAKE_TARGETS = " BUILD=${PVRBUILD}"
 
 do_compile_prepend() {
-	find ${S} -name "*.*o" | xargs rm
+	find ${S} -name "*.*o" | xargs rm || true
+	if [ $(echo ${KERNEL_VERSION} | cut -c5,6) -gt 28 ] ; then
+		sed -i -e 's:omap_dispc_unregister_isr(OMAPLFBVSyncISR):omap_dispc_unregister_isr(OMAPLFBVSyncISR, psSwapChain, DISPC_IRQ_VSYNC):g' services4/3rdparty/dc_omap3430_linux/omaplfb_linux.c
+	fi
 }
 
 do_install() {





More information about the Openembedded-commits mailing list