summaryrefslogtreecommitdiff
path: root/toolchain/kernel-headers/linux-2.6.25.19-export-linux-aout.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-01-23 13:12:51 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-01-23 13:12:51 +0000
commit76c5b603c8330fd2ed23f3baab5361e8bc4bbd4a (patch)
tree7c7912638bd7e959c6585b9db57574627574006a /toolchain/kernel-headers/linux-2.6.25.19-export-linux-aout.patch
parentbf8203de71dfaf228cfbe5fa8db5157d7a269285 (diff)
kernel-headers: rename 2.6.25/2.6.28 patches to match current stable versions
Otherwise they won't get applied.
Diffstat (limited to 'toolchain/kernel-headers/linux-2.6.25.19-export-linux-aout.patch')
-rw-r--r--toolchain/kernel-headers/linux-2.6.25.19-export-linux-aout.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/linux-2.6.25.19-export-linux-aout.patch b/toolchain/kernel-headers/linux-2.6.25.19-export-linux-aout.patch
new file mode 100644
index 000000000..972fa76b0
--- /dev/null
+++ b/toolchain/kernel-headers/linux-2.6.25.19-export-linux-aout.patch
@@ -0,0 +1,24 @@
+[PATCH] export linux/a.out.h
+
+Export linux/a.out.h like we do for asm/a.out.h. One minor complication is
+that the interesting stuff is protected by an CONFIG_ARCH_SUPPORTS_AOUT ifdef,
+so make sure this gets defined for unifdef.
+
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+---
+ include/linux/Kbuild | 2 ++
+ 1 file changed, 2 insertions(+)
+
+Index: linux-2.6.25.6/include/linux/Kbuild
+===================================================================
+--- linux-2.6.25.6.orig/include/linux/Kbuild
++++ linux-2.6.25.6/include/linux/Kbuild
+@@ -159,6 +159,8 @@
+ header-y += videotext.h
+ header-y += x25.h
+
++UNIFDEF += -DCONFIG_ARCH_SUPPORTS_AOUT
++unifdef-y += a.out.h
+ unifdef-y += acct.h
+ unifdef-y += adb.h
+ unifdef-y += adfs_fs.h