* [STABLE][PATCH] omap3sgx-modules: sync with .dev * update to build against newer kernels * switch to MACHINE_KERNEL_PR
@ 2009-05-27 17:40 Koen Kooi
2009-05-27 18:37 ` Philip Balister
2009-05-29 15:54 ` Rolf Leggewie
0 siblings, 2 replies; 4+ messages in thread
From: Koen Kooi @ 2009-05-27 17:40 UTC (permalink / raw)
To: openembedded-devel; +Cc: Koen Kooi
From: Koen Kooi <koen@openembedded.org>
Signed-off-by: Koen Kooi <koen@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() {
--
1.6.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [STABLE][PATCH] omap3sgx-modules: sync with .dev * update to build against newer kernels * switch to MACHINE_KERNEL_PR
2009-05-27 17:40 [STABLE][PATCH] omap3sgx-modules: sync with .dev * update to build against newer kernels * switch to MACHINE_KERNEL_PR Koen Kooi
@ 2009-05-27 18:37 ` Philip Balister
2009-05-29 15:54 ` Rolf Leggewie
1 sibling, 0 replies; 4+ messages in thread
From: Philip Balister @ 2009-05-27 18:37 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1403 bytes --]
Acked-by: Philip Balister <philip@balister.org>
Needed for linux-omap sync patch to build :)
Koen Kooi wrote:
> From: Koen Kooi <koen@openembedded.org>
>
> Signed-off-by: Koen Kooi <koen@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() {
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3303 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [STABLE][PATCH] omap3sgx-modules: sync with .dev * update to build against newer kernels * switch to MACHINE_KERNEL_PR
2009-05-27 17:40 [STABLE][PATCH] omap3sgx-modules: sync with .dev * update to build against newer kernels * switch to MACHINE_KERNEL_PR Koen Kooi
2009-05-27 18:37 ` Philip Balister
@ 2009-05-29 15:54 ` Rolf Leggewie
2009-05-29 17:05 ` Koen Kooi
1 sibling, 1 reply; 4+ messages in thread
From: Rolf Leggewie @ 2009-05-29 15:54 UTC (permalink / raw)
To: openembedded-devel
Koen Kooi wrote:
> -PR = "r6"
forgive my ignorance, but won't that make the PR go backwards?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [STABLE][PATCH] omap3sgx-modules: sync with .dev * update to build against newer kernels * switch to MACHINE_KERNEL_PR
2009-05-29 15:54 ` Rolf Leggewie
@ 2009-05-29 17:05 ` Koen Kooi
0 siblings, 0 replies; 4+ messages in thread
From: Koen Kooi @ 2009-05-29 17:05 UTC (permalink / raw)
To: openembedded-devel
On 29-05-09 17:54, Rolf Leggewie wrote:
> Koen Kooi wrote:
>> -PR = "r6"
>
> forgive my ignorance, but won't that make the PR go backwards?
No, since module*.bbclass is using MACHINE_KERNEL_PR to keep the modules
in sync with the kernel. So if you bump PR for the kernel, the modules
will get rebuilt *and* have an increased PR so the package manager will
pick it up as upgrade as well.
regards,
Koen
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-29 17:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-27 17:40 [STABLE][PATCH] omap3sgx-modules: sync with .dev * update to build against newer kernels * switch to MACHINE_KERNEL_PR Koen Kooi
2009-05-27 18:37 ` Philip Balister
2009-05-29 15:54 ` Rolf Leggewie
2009-05-29 17:05 ` Koen Kooi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.