summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/directfb/directfb
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2012-06-01 14:41:24 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-05 22:56:30 +0100
commit96c65bdcd35606f7487c974f25eb2a6e2e8d86b0 (patch)
treef7851eac86fa1691038769bd740bbaf3ab6c694d /meta/recipes-graphics/directfb/directfb
parentd0fac332cf24577aecf76d14614a771a2116887a (diff)
downloadpoky-96c65bdcd35606f7487c974f25eb2a6e2e8d86b0.tar.gz
directfb: upgrade to 1.5.3
Also, backported a couple of patches from upstream that fix some compilations issues for ARM and PPC. (From OE-Core rev: 8acb86dfdae782c7627e36e23e1bcb703f8c79db) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/directfb/directfb')
-rw-r--r--meta/recipes-graphics/directfb/directfb/libdirect-Use-ARM-assembler-for-atomic-operations-on.patch27
-rw-r--r--meta/recipes-graphics/directfb/directfb/libdirect-remove-include-of-linux-config.h.patch27
2 files changed, 54 insertions, 0 deletions
diff --git a/meta/recipes-graphics/directfb/directfb/libdirect-Use-ARM-assembler-for-atomic-operations-on.patch b/meta/recipes-graphics/directfb/directfb/libdirect-Use-ARM-assembler-for-atomic-operations-on.patch
new file mode 100644
index 0000000000..277189bb84
--- /dev/null
+++ b/meta/recipes-graphics/directfb/directfb/libdirect-Use-ARM-assembler-for-atomic-operations-on.patch
@@ -0,0 +1,27 @@
1From 54f775dfc516115c4d654d250189f431a82d1d42 Mon Sep 17 00:00:00 2001
2From: Denis Oliver Kropp <dok@directfb.org>
3Date: Sun, 27 May 2012 11:40:31 +0200
4Subject: [PATCH] libdirect: Use ARM assembler for atomic operations only if
5 ARCH_ARMv7 is defined.
6
7Upstream-Status: backport from 1.6.0-pre1
8---
9 lib/direct/atomic.h | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/lib/direct/atomic.h b/lib/direct/atomic.h
13index fe7664f..74d8d18 100644
14--- a/lib/direct/atomic.h
15+++ b/lib/direct/atomic.h
16@@ -183,7 +183,7 @@
17 #endif
18
19
20-#if defined(ARCH_ARM) && !defined(ARCH_IWMMXT)
21+#if defined(ARCH_ARMv7) && !defined(ARCH_IWMMXT)
22
23 static inline int _D__atomic_cmpxchg(volatile int *ptr, int old, int _new)
24 {
25--
261.7.9.5
27
diff --git a/meta/recipes-graphics/directfb/directfb/libdirect-remove-include-of-linux-config.h.patch b/meta/recipes-graphics/directfb/directfb/libdirect-remove-include-of-linux-config.h.patch
new file mode 100644
index 0000000000..eeb77385ca
--- /dev/null
+++ b/meta/recipes-graphics/directfb/directfb/libdirect-remove-include-of-linux-config.h.patch
@@ -0,0 +1,27 @@
1From cd575a84f10d90759e069f5f2e6092251a1b84bd Mon Sep 17 00:00:00 2001
2From: Sven Neumann <s.neumann@raumfeld.com>
3Date: Fri, 23 Sep 2011 10:00:02 +0200
4Subject: [PATCH] libdirect: remove include of <linux/config.h>
5
6That header has been removed from the Linux kernel with 2.6.19
7and it should not have been needed anyway.
8---
9 lib/direct/ppcasm_memcpy_cachable.S | 2 --
10 1 file changed, 2 deletions(-)
11
12diff --git a/lib/direct/ppcasm_memcpy_cachable.S b/lib/direct/ppcasm_memcpy_cachable.S
13index 920dea2..c1ef4fa 100644
14--- a/lib/direct/ppcasm_memcpy_cachable.S
15+++ b/lib/direct/ppcasm_memcpy_cachable.S
16@@ -34,8 +34,6 @@
17
18 #define __ASSEMBLY__
19
20-#include <linux/config.h>
21-
22 #if defined(CONFIG_8xx) || defined(CONFIG_403GCX)
23 #define L1_CACHE_LINE_SIZE 16
24 #define LG_L1_CACHE_LINE_SIZE 4
25--
261.7.9.5
27