From 5e21955af7b06deeebafd7e3ffaa8b83aabb0d12 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 14 Oct 2010 09:53:43 +0200 Subject: omap3-sgx-modules: make patch apply with all versions of patch --- .../0002-Compile-fixes-for-recent-kernels.patch | 42 +++++++++++----------- .../omap3-sgx-modules_1.4.14.2616.bb | 2 +- 2 files changed, 22 insertions(+), 22 deletions(-) (limited to 'recipes/powervr-drivers') diff --git a/recipes/powervr-drivers/omap3-sgx-modules/0002-Compile-fixes-for-recent-kernels.patch b/recipes/powervr-drivers/omap3-sgx-modules/0002-Compile-fixes-for-recent-kernels.patch index 1ceba8b139..fd75fe42c2 100644 --- a/recipes/powervr-drivers/omap3-sgx-modules/0002-Compile-fixes-for-recent-kernels.patch +++ b/recipes/powervr-drivers/omap3-sgx-modules/0002-Compile-fixes-for-recent-kernels.patch @@ -1,23 +1,23 @@ ---- GFX_Linux_KM/services4/system/omap3630/sysutils_linux.c-orig 2010-07-30 07:15:01.000000000 -0700 -+++ GFX_Linux_KM/services4/system/omap3630/sysutils_linux.c 2010-10-07 07:49:32.000000000 -0700 +--- /tmp/sysutils_linux.c 2010-10-14 09:46:08.000000000 +0200 ++++ GFX_Linux_KM/services4/system/omap3630/sysutils_linux.c 2010-10-14 09:47:20.000000000 +0200 @@ -32,6 +32,12 @@ - #include - #include - -+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,33)) -+#include -+#include -+#include -+#else -+ - #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,31)) - #include - #include + #include + #include + ++#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,33)) ++#include ++#include ++#include ++#else ++ + #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,31)) + #include + #include @@ -49,6 +55,7 @@ - #endif - #endif - #endif -+#endif - - #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,27)) && \ - (LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,29)) + #endif + #endif + #endif ++#endif + + #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,27)) && \ + (LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,29)) diff --git a/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2616.bb b/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2616.bb index 5c4e15de6d..481b504e29 100644 --- a/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2616.bb +++ b/recipes/powervr-drivers/omap3-sgx-modules_1.4.14.2616.bb @@ -23,7 +23,7 @@ S = "${WORKDIR}/Graphics_SDK_${SGXPV}/GFX_Linux_KM" inherit module -MACHINE_KERNEL_PR_append = "e" +MACHINE_KERNEL_PR_append = "f" PVRBUILD = "release" -- cgit 1.2.3-korg