[oe] [PATCH v3] linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from recent kernel
Steffen Sledz
sledz at dresearch-fe.de
Thu Sep 15 07:48:12 UTC 2011
Enables building of OpenJDK which uses HWCAP_THUMBEE that is not present
in 2.6.24 headers and was introduced with
commit 4baa9922430662431231ac637adedddbb0cfb2d7
Author: Russell King <rmk at dyn-67.arm.linux.org.uk>
Date: Sat Aug 2 10:55:55 2008 +0100
[ARM] move include/asm-arm to arch/arm/include/asm
Signed-off-by: Steffen Sledz <sledz at dresearch-fe.de>
Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
.../arm-hwcap-add-new-entries.patch | 26 ++++++++++++++++++++
.../linux-libc-headers_2.6.24.bb | 5 ++-
2 files changed, 29 insertions(+), 2 deletions(-)
create mode 100644 recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch
diff --git a/recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch b/recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch
new file mode 100644
index 0000000..c127970
--- /dev/null
+++ b/recipes/linux-libc-headers/linux-libc-headers-2.6.24/arm-hwcap-add-new-entries.patch
@@ -0,0 +1,26 @@
+linux-libc-headers 2.6.24: backport arm/asm/hwcap.h from recent kernel
+
+Enables building of OpenJDK which uses HWCAP_THUMBEE that is not present
+in 2.6.24 headers and was introduced with
+
+ commit 4baa9922430662431231ac637adedddbb0cfb2d7
+ Author: Russell King <rmk at dyn-67.arm.linux.org.uk>
+ Date: Sat Aug 2 10:55:55 2008 +0100
+
+ [ARM] move include/asm-arm to arch/arm/include/asm
+
+Upstream-Status: Backport [2.6.27]
+
+Signed-off-by: Steffen Sledz <sledz at dresearch-fe.de>
+
+diff -Nurd linux-2.6.24.orig//include/asm-arm/hwcap.h linux-2.6.24/include/asm-arm/hwcap.h
+--- linux-2.6.24.orig//include/asm-arm/hwcap.h 2011-09-15 08:42:58.467307245 +0200
++++ linux-2.6.24/include/asm-arm/hwcap.h 2011-09-15 08:43:46.004693497 +0200
+@@ -15,6 +15,7 @@
+ #define HWCAP_JAVA 256
+ #define HWCAP_IWMMXT 512
+ #define HWCAP_CRUNCH 1024
++#define HWCAP_THUMBEE 2048
+
+ #if defined(__KERNEL__) && !defined(__ASSEMBLY__)
+ /*
diff --git a/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb b/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb
index 148d03f..cec1835 100644
--- a/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb
+++ b/recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb
@@ -2,13 +2,14 @@ require linux-libc-headers.inc
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS += "unifdef-native"
-PR = "r7"
+PR = "r8"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
file://procinfo.h \
file://export_falloc_h.patch \
file://make-3.82.patch \
- file://unifdef.patch"
+ file://unifdef.patch \
+ file://arm-hwcap-add-new-entries.patch"
SRC_URI_append_hipox = " \
file://siocoutqsnd.patch \
--
1.7.3.4
More information about the Openembedded-devel
mailing list