diff options
-rw-r--r-- | meta/packages/linux-libc-headers/linux-libc-headers-2.6.20/procinfo.h | 24 | ||||
-rw-r--r-- | meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb | 9 |
2 files changed, 29 insertions, 4 deletions
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.20/procinfo.h b/meta/packages/linux-libc-headers/linux-libc-headers-2.6.20/procinfo.h new file mode 100644 index 0000000000..8cdf828af8 --- /dev/null +++ b/meta/packages/linux-libc-headers/linux-libc-headers-2.6.20/procinfo.h | |||
@@ -0,0 +1,24 @@ | |||
1 | /* | ||
2 | * linux/include/asm-arm/procinfo.h | ||
3 | * | ||
4 | * Copyright (C) 1996-1999 Russell King | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | #ifndef __ASM_PROCINFO_H | ||
11 | #define __ASM_PROCINFO_H | ||
12 | |||
13 | #define HWCAP_SWP 1 | ||
14 | #define HWCAP_HALF 2 | ||
15 | #define HWCAP_THUMB 4 | ||
16 | #define HWCAP_26BIT 8 /* Play it safe */ | ||
17 | #define HWCAP_FAST_MULT 16 | ||
18 | #define HWCAP_FPA 32 | ||
19 | #define HWCAP_VFP 64 | ||
20 | #define HWCAP_EDSP 128 | ||
21 | #define HWCAP_JAVA 256 | ||
22 | #define HWCAP_IWMMXT 512 | ||
23 | #define HWCAP_CRUNCH 1024 | ||
24 | #endif | ||
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb index 1832abe56b..457f16c1f7 100644 --- a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb +++ b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb | |||
@@ -2,9 +2,10 @@ require linux-libc-headers.inc | |||
2 | 2 | ||
3 | INHIBIT_DEFAULT_DEPS = "1" | 3 | INHIBIT_DEFAULT_DEPS = "1" |
4 | DEPENDS = "unifdef-native" | 4 | DEPENDS = "unifdef-native" |
5 | PR = "r5" | 5 | PR = "r6" |
6 | 6 | ||
7 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2" | 7 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \ |
8 | file://procinfo.h" | ||
8 | 9 | ||
9 | S = "${WORKDIR}/linux-${PV}" | 10 | S = "${WORKDIR}/linux-${PV}" |
10 | 11 | ||
@@ -41,7 +42,7 @@ do_install() { | |||
41 | } | 42 | } |
42 | 43 | ||
43 | do_install_append_arm() { | 44 | do_install_append_arm() { |
44 | cp include/asm-arm/procinfo.h ${D}${includedir}/asm | 45 | cp ${WORKDIR}/procinfo.h ${D}${includedir}/asm/ |
45 | } | 46 | } |
46 | 47 | ||
47 | STAGE_TEMP="${WORKDIR}/temp-staging" | 48 | STAGE_TEMP="${WORKDIR}/temp-staging" |
@@ -53,7 +54,7 @@ do_stage () { | |||
53 | mkdir -p ${STAGE_TEMP} | 54 | mkdir -p ${STAGE_TEMP} |
54 | oe_runmake headers_install INSTALL_HDR_PATH=${STAGE_TEMP}/usr ARCH=$ARCH | 55 | oe_runmake headers_install INSTALL_HDR_PATH=${STAGE_TEMP}/usr ARCH=$ARCH |
55 | if [ "$ARCH" = "arm" ]; then | 56 | if [ "$ARCH" = "arm" ]; then |
56 | cp include/asm-arm/procinfo.h ${STAGE_TEMP}${includedir}/asm | 57 | cp ${WORKDIR}/procinfo.h ${STAGE_TEMP}${includedir}/asm/ |
57 | fi | 58 | fi |
58 | install -d ${STAGING_INCDIR} | 59 | install -d ${STAGING_INCDIR} |
59 | rm -rf ${STAGING_INCDIR}/linux ${STAGING_INCDIR}/asm ${STAGING_INCDIR}/asm-generic | 60 | rm -rf ${STAGING_INCDIR}/linux ${STAGING_INCDIR}/asm ${STAGING_INCDIR}/asm-generic |