summaryrefslogtreecommitdiff
path: root/recipes/linux-libc-headers
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@buglabs.net>2010-04-12 11:01:24 +0200
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2010-04-12 11:09:19 +0200
commit41cd62ffbac7d272d46a4b39faf8a97c0850dd10 (patch)
treecbb8d5c3549eb1fd055f68ef1a8720cf8f5eeb3d /recipes/linux-libc-headers
parentb246e72c547be71fc4c80d984191196da5ffd2fb (diff)
linux-libc-headers 2.6.23: backport arm/asm/hwcap.h from recent kernels
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Diffstat (limited to 'recipes/linux-libc-headers')
-rw-r--r--recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch21
-rw-r--r--recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb5
2 files changed, 24 insertions, 2 deletions
diff --git a/recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch b/recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch
new file mode 100644
index 0000000000..934db516b1
--- /dev/null
+++ b/recipes/linux-libc-headers/linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch
@@ -0,0 +1,21 @@
+---
+ include/asm-arm/hwcap.h | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- linux-2.6.23.orig/include/asm-arm/hwcap.h
++++ linux-2.6.23/include/asm-arm/hwcap.h
+@@ -13,10 +13,14 @@
+ #define HWCAP_VFP 64
+ #define HWCAP_EDSP 128
+ #define HWCAP_JAVA 256
+ #define HWCAP_IWMMXT 512
+ #define HWCAP_CRUNCH 1024
++#define HWCAP_THUMBEE 2048
++#define HWCAP_NEON 4096
++#define HWCAP_VFPv3 8192
++#define HWCAP_VFPv3D16 16384
+
+ #if defined(__KERNEL__) && !defined(__ASSEMBLY__)
+ /*
+ * This yields a mask that user programs can use to figure out what
+ * instruction set this cpu supports.
diff --git a/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb b/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
index 1ff38f0dd2..bca01b199c 100644
--- a/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
+++ b/recipes/linux-libc-headers/linux-libc-headers_2.6.23.bb
@@ -2,11 +2,12 @@ require linux-libc-headers.inc
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS += "unifdef-native"
-PR = "r5"
+PR = "r6"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
file://procinfo.h \
- file://unifdef.patch;patch=1"
+ file://unifdef.patch;patch=1 \
+ file:// linux-libc-headers-2.6.23/arm-hwcap-add-new-entries.patch;patch=1"
S = "${WORKDIR}/linux-${PV}"