aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux-libc-headers
diff options
context:
space:
mode:
authorThilo Fromm <t.fromm@dresearch.de>2010-09-30 21:07:55 +0000
committerKhem Raj <raj.khem@gmail.com>2010-10-06 15:27:31 -0700
commit20fc2d19db911a9b6841916959c3defeababd6b1 (patch)
tree799d44320b83f9062de0c7d765badd3658014371 /recipes/linux-libc-headers
parenta10389ad4346b2285a0a5b00be893143392d8484 (diff)
downloadopenembedded-20fc2d19db911a9b6841916959c3defeababd6b1.tar.gz
linux-libc-headers_2.6.24: Add falloc.h to kernel exported headers
This adds include/linux/falloc.h to the list of files exported by the kernel to the C library. The include file is required for building e.g. a recent util-linux-ng against 2.6.24. Starting from 2.6.25 a similar patch has been accepted upstream (the mainline kernel). For 2.6.24, however, falloc.h is not exported although it's present. Signed-off-by: Thilo Fromm <t.fromm@dresearch.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/linux-libc-headers')
-rw-r--r--recipes/linux-libc-headers/files/export_falloc_h.patch13
-rw-r--r--recipes/linux-libc-headers/linux-libc-headers_2.6.24.bb3
2 files changed, 15 insertions, 1 deletions
diff --git a/recipes/linux-libc-headers/files/export_falloc_h.patch b/recipes/linux-libc-headers/files/export_falloc_h.patch
new file mode 100644
index 0000000000..ba75e1f3f1
--- /dev/null
+++ b/recipes/linux-libc-headers/files/export_falloc_h.patch
@@ -0,0 +1,13 @@
+upstream: OE-only
+comment: Same patch is present in Linux kernel ≥ 2.6.25 and was committed in <http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=040922c04cf2c8ac70be2e88a8a9614ecdb41d2e>
+
+--- a/include/linux/Kbuild 2010-09-27 16:04:29.000000000 +0200
++++ b/include/linux/Kbuild 2010-09-27 15:59:06.000000000 +0200
+@@ -61,6 +61,7 @@
+ header-y += elf.h
+ header-y += elf-em.h
+ header-y += fadvise.h
++header-y += falloc.h
+ header-y += fd.h
+ header-y += fdreg.h
+ header-y += fib_rules.h
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 b90c478521..e95299bc66 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,10 +2,11 @@ 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://export_falloc_h.patch \
file://unifdef.patch"
S = "${WORKDIR}/linux-${PV}"