summaryrefslogtreecommitdiffstats
path: root/meta/packages/linux-libc-headers
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-06-16 11:06:28 +0000
committerRichard Purdie <richard@openedhand.com>2008-06-16 11:06:28 +0000
commit25c0b9730827887e5da64332c89b8102ca6d7f6b (patch)
treef4f6b5ad802833b293efed9cfc106b035220f46c /meta/packages/linux-libc-headers
parent018963dfac62c364cf5ed1ecdfe661141d32d5b7 (diff)
downloadpoky-25c0b9730827887e5da64332c89b8102ca6d7f6b.tar.gz
linux-libc-headers: Clear out old versions
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4667 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux-libc-headers')
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/3477-1.patch43
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/asm-arch-irqs.patch19
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-netdevice.patch11
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-netfilter_ipv4.patch31
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-rtc.patch11
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-videodev2.patch45
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/arm-procinfo-hwcap.patch31
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/arm-unistd-syscall.patch190
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/linux-err.patch23
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers-2.6.18/arm-syscall-define.patch22
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers_2.6.11.1.bb58
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers_2.6.15.99.bb72
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb58
-rw-r--r--meta/packages/linux-libc-headers/linux-libc-headers_csl-arm-2005q3-2.bb81
14 files changed, 0 insertions, 695 deletions
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/3477-1.patch b/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/3477-1.patch
deleted file mode 100644
index 1b207b3cd9..0000000000
--- a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/3477-1.patch
+++ /dev/null
@@ -1,43 +0,0 @@
1From: Nicolas Pitre <nico@cam.org>
2Date: Sat, 15 Apr 2006 15:10:43 +0000 (+0100)
3Subject: [ARM] 3477/1: ARM EABI: undefine removed syscalls
4X-Git-Url: http://git.infradead.org/?p=mtd-2.6.git;a=commitdiff;h=463b158aab247b600e4e93614b7b8f42a66331c9
5
6[ARM] 3477/1: ARM EABI: undefine removed syscalls
7
8Patch from Nicolas Pitre
9
10Avoid confusion for libraries assuming that a given syscall is available
11when corresponding symbol is defined.
12
13Signed-off-by: Nicolas Pitre <nico@cam.org>
14Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
15---
16
17--- a/include/asm-arm/unistd.h
18+++ b/include/asm-arm/unistd.h
19@@ -360,6 +360,24 @@
20 #define __ARM_NR_usr32 (__ARM_NR_BASE+4)
21 #define __ARM_NR_set_tls (__ARM_NR_BASE+5)
22
23+/*
24+ * The following syscalls are obsolete and no longer available for EABI.
25+ */
26+#if defined(__ARM_EABI__)
27+#undef __NR_time
28+#undef __NR_umount
29+#undef __NR_stime
30+#undef __NR_alarm
31+#undef __NR_utime
32+#undef __NR_getrlimit
33+#undef __NR_select
34+#undef __NR_readdir
35+#undef __NR_mmap
36+#undef __NR_socketcall
37+#undef __NR_syscall
38+#undef __NR_ipc
39+#endif
40+
41 #define __sys2(x) #x
42 #define __sys1(x) __sys2(x)
43
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/asm-arch-irqs.patch b/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/asm-arch-irqs.patch
deleted file mode 100644
index 4785275db4..0000000000
--- a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/asm-arch-irqs.patch
+++ /dev/null
@@ -1,19 +0,0 @@
1--- linux-libc-headers-2.6.15.99/include/asm-arm/arch-ebsa285/irqs.h.orig 2006-03-19 17:01:59.000000000 +0100
2+++ linux-libc-headers-2.6.15.99/include/asm-arm/arch-ebsa285/irqs.h 2006-03-19 17:02:50.000000000 +0100
3@@ -8,7 +8,6 @@
4 * 20-Jan-1998 RMK Started merge of EBSA286, CATS and NetWinder
5 * 01-Feb-1999 PJB ISA IRQs start at 0 not 16
6 */
7-#include <asm/mach-types.h>
8
9 #define NR_IRQS 36
10 #define NR_DC21285_IRQS 16
11@@ -92,7 +91,7 @@
12 #undef RTC_IRQ
13 #define RTC_IRQ IRQ_ISA_RTC_ALARM
14 #define I8042_KBD_IRQ IRQ_ISA_KEYBOARD
15-#define I8042_AUX_IRQ (machine_is_netwinder() ? IRQ_NETWINDER_PS2MOUSE : IRQ_ISA_PS2MOUSE)
16+#define I8042_AUX_IRQ IRQ_ISA_PS2MOUSE
17 #define IRQ_FLOPPYDISK IRQ_ISA_FLOPPY
18
19 #define irq_canonicalize(_i) (((_i) == IRQ_ISA_CASCADE) ? IRQ_ISA_2 : _i)
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-netdevice.patch b/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-netdevice.patch
deleted file mode 100644
index 588aea4ba8..0000000000
--- a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-netdevice.patch
+++ /dev/null
@@ -1,11 +0,0 @@
1--- linux-libc-headers-2.6.15.99/include/linux/netdevice.h.orig 2006-04-29 14:10:39.245687500 +0200
2+++ linux-libc-headers-2.6.15.99/include/linux/netdevice.h 2006-04-29 14:11:08.819535750 +0200
3@@ -100,8 +100,6 @@
4 unsigned long tx_compressed;
5 };
6
7-extern int __init netdev_boot_setup(char *str);
8-
9 /* Media selection options. */
10 enum {
11 IF_PORT_UNKNOWN = 0,
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-netfilter_ipv4.patch b/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-netfilter_ipv4.patch
deleted file mode 100644
index f7f77af0de..0000000000
--- a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-netfilter_ipv4.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1iptables 1.3.3 assumes that ipt_scpt.h defines ELEMCOUNT, but ipt_scpt.h
2moved to ARRAY_SIZE (which would be defined in linux/kernel.h).
3The ip_conntrack_dir definition now resides in linux/netfilter/ip_conntrack_common.h
4
5--- linux-libc-headers-2.6.15.99/include/linux/netfilter_ipv4/ipt_sctp.h.orig 2006-03-20 22:03:04.000000000 +0100
6+++ linux-libc-headers-2.6.15.99/include/linux/netfilter_ipv4/ipt_sctp.h 2006-03-20 22:07:09.000000000 +0100
7@@ -7,6 +7,8 @@
8
9 #define IPT_SCTP_VALID_FLAGS 0x07
10
11+#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
12+#define ELEMCOUNT(x) (sizeof(x) / sizeof((x)[0]))
13
14 struct ipt_sctp_flag_info {
15 u_int8_t chunktype;
16--- linux-libc-headers-2.6.15.99/include/linux/netfilter_ipv4/ip_conntrack_tuple.h.orig 2006-03-20 21:51:10.000000000 +0100
17+++ linux-libc-headers-2.6.15.99/include/linux/netfilter_ipv4/ip_conntrack_tuple.h 2006-03-20 21:51:12.000000000 +0100
18@@ -89,13 +89,6 @@
19 (tuple)->dst.u.all = 0; \
20 } while (0)
21
22-enum ip_conntrack_dir
23-{
24- IP_CT_DIR_ORIGINAL,
25- IP_CT_DIR_REPLY,
26- IP_CT_DIR_MAX
27-};
28-
29 static inline int ip_ct_tuple_src_equal(const struct ip_conntrack_tuple *t1,
30 const struct ip_conntrack_tuple *t2)
31 {
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-rtc.patch b/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-rtc.patch
deleted file mode 100644
index 36b80fb9d2..0000000000
--- a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-rtc.patch
+++ /dev/null
@@ -1,11 +0,0 @@
1--- linux-libc-headers-2.6.15.99/include/linux/rtc.h.orig 2006-03-19 12:31:07.000000000 +0100
2+++ linux-libc-headers-2.6.15.99/include/linux/rtc.h 2006-03-19 12:31:14.000000000 +0100
3@@ -11,8 +11,6 @@
4 #ifndef _LINUX_RTC_H_
5 #define _LINUX_RTC_H_
6
7-#include <linux/interrupt.h>
8-
9 /*
10 * The struct used to pass data via the following ioctl. Similar to the
11 * struct tm in <time.h>, but it needs to be here so that the kernel
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-videodev2.patch b/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-videodev2.patch
deleted file mode 100644
index 95335c99b6..0000000000
--- a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.15.99/linux-videodev2.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1--- linux-libc-headers-2.6.15.99/include/linux/videodev2.h.orig 2006-03-20 11:14:35.000000000 +0100
2+++ linux-libc-headers-2.6.15.99/include/linux/videodev2.h 2006-03-20 11:14:37.000000000 +0100
3@@ -15,7 +15,32 @@
4 */
5 #include <sys/time.h> /* need struct timeval */
6 #include <asm/types.h> /* needed __u64 */
7-
8+
9+#define OBSOLETE_OWNER 1 /* It will be removed for 2.6.15 */
10+#define HAVE_V4L2 1
11+
12+/*
13+ * Common stuff for both V4L1 and V4L2
14+ * Moved from videodev.h
15+ */
16+
17+#define VIDEO_MAX_FRAME 32
18+
19+#define VID_TYPE_CAPTURE 1 /* Can capture */
20+#define VID_TYPE_TUNER 2 /* Can tune */
21+#define VID_TYPE_TELETEXT 4 /* Does teletext */
22+#define VID_TYPE_OVERLAY 8 /* Overlay onto frame buffer */
23+#define VID_TYPE_CHROMAKEY 16 /* Overlay by chromakey */
24+#define VID_TYPE_CLIPPING 32 /* Can clip */
25+#define VID_TYPE_FRAMERAM 64 /* Uses the frame buffer memory */
26+#define VID_TYPE_SCALES 128 /* Scalable */
27+#define VID_TYPE_MONOCHROME 256 /* Monochrome only */
28+#define VID_TYPE_SUBCAPTURE 512 /* Can capture subareas of the image */
29+#define VID_TYPE_MPEG_DECODER 1024 /* Can decode MPEG streams */
30+#define VID_TYPE_MPEG_ENCODER 2048 /* Can encode MPEG streams */
31+#define VID_TYPE_MJPEG_DECODER 4096 /* Can decode MJPEG streams */
32+#define VID_TYPE_MJPEG_ENCODER 8192 /* Can encode MJPEG streams */
33+
34 /*
35 * M I S C E L L A N E O U S
36 */
37@@ -464,7 +489,7 @@
38 struct v4l2_clip
39 {
40 struct v4l2_rect c;
41- struct v4l2_clip __user *next;
42+ struct v4l2_clip *next;
43 };
44
45 struct v4l2_window
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/arm-procinfo-hwcap.patch b/meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/arm-procinfo-hwcap.patch
deleted file mode 100644
index 3b20b4ac59..0000000000
--- a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/arm-procinfo-hwcap.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1# Add HWCAP definitions in asm/procinfo.h
2
3Index: linux-2.6.19-rc1/usr/include/asm-arm/procinfo.h
4===================================================================
5--- /dev/null 1970-01-01 00:00:00.000000000 +0000
6+++ linux-2.6.19-rc1/usr/include/asm-arm/procinfo.h 2006-10-05 10:28:40.000000000 +0200
7@@ -0,0 +1,24 @@
8+/*
9+ * linux/include/asm-arm/procinfo.h
10+ *
11+ * Copyright (C) 1996-1999 Russell King
12+ *
13+ * This program is free software; you can redistribute it and/or modify
14+ * it under the terms of the GNU General Public License version 2 as
15+ * published by the Free Software Foundation.
16+ */
17+#ifndef __ASM_PROCINFO_H
18+#define __ASM_PROCINFO_H
19+
20+#define HWCAP_SWP 1
21+#define HWCAP_HALF 2
22+#define HWCAP_THUMB 4
23+#define HWCAP_26BIT 8 /* Play it safe */
24+#define HWCAP_FAST_MULT 16
25+#define HWCAP_FPA 32
26+#define HWCAP_VFP 64
27+#define HWCAP_EDSP 128
28+#define HWCAP_JAVA 256
29+#define HWCAP_IWMMXT 512
30+
31+#endif
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/arm-unistd-syscall.patch b/meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/arm-unistd-syscall.patch
deleted file mode 100644
index f1fed650bb..0000000000
--- a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/arm-unistd-syscall.patch
+++ /dev/null
@@ -1,190 +0,0 @@
1# Add asm syscall definitions, needed for fstab/llseek.c in util-linux
2
3Index: linux-2.6.19-rc1/usr/include/asm-arm/unistd.h
4===================================================================
5--- linux-2.6.19-rc1.orig/usr/include/asm-arm/unistd.h 2006-10-05 10:29:50.000000000 +0200
6+++ linux-2.6.19-rc1/usr/include/asm-arm/unistd.h 2006-10-05 10:31:43.000000000 +0200
7@@ -376,4 +376,183 @@
8 #undef __NR_ipc
9 #endif
10
11+#include <linux/err.h>
12+
13+#define __sys2(x) #x
14+#define __sys1(x) __sys2(x)
15+
16+#ifndef __syscall
17+#if defined(__thumb__) || defined(__ARM_EABI__)
18+#define __SYS_REG(name) register long __sysreg __asm__("r7") = __NR_##name;
19+#define __SYS_REG_LIST(regs...) "r" (__sysreg) , ##regs
20+#define __syscall(name) "swi\t0"
21+#else
22+#define __SYS_REG(name)
23+#define __SYS_REG_LIST(regs...) regs
24+#define __syscall(name) "swi\t" __sys1(__NR_##name) ""
25+#endif
26+#endif
27+
28+#define __syscall_return(type, res) \
29+do { \
30+ if ((unsigned long)(res) >= (unsigned long)(-MAX_ERRNO)) { \
31+ errno = -(res); \
32+ res = -1; \
33+ } \
34+ return (type) (res); \
35+} while (0)
36+
37+#define _syscall0(type,name) \
38+type name(void) { \
39+ __SYS_REG(name) \
40+ register long __res_r0 __asm__("r0"); \
41+ long __res; \
42+ __asm__ __volatile__ ( \
43+ __syscall(name) \
44+ : "=r" (__res_r0) \
45+ : __SYS_REG_LIST() \
46+ : "memory" ); \
47+ __res = __res_r0; \
48+ __syscall_return(type,__res); \
49+}
50+
51+#define _syscall1(type,name,type1,arg1) \
52+type name(type1 arg1) { \
53+ __SYS_REG(name) \
54+ register long __r0 __asm__("r0") = (long)arg1; \
55+ register long __res_r0 __asm__("r0"); \
56+ long __res; \
57+ __asm__ __volatile__ ( \
58+ __syscall(name) \
59+ : "=r" (__res_r0) \
60+ : __SYS_REG_LIST( "0" (__r0) ) \
61+ : "memory" ); \
62+ __res = __res_r0; \
63+ __syscall_return(type,__res); \
64+}
65+
66+#define _syscall2(type,name,type1,arg1,type2,arg2) \
67+type name(type1 arg1,type2 arg2) { \
68+ __SYS_REG(name) \
69+ register long __r0 __asm__("r0") = (long)arg1; \
70+ register long __r1 __asm__("r1") = (long)arg2; \
71+ register long __res_r0 __asm__("r0"); \
72+ long __res; \
73+ __asm__ __volatile__ ( \
74+ __syscall(name) \
75+ : "=r" (__res_r0) \
76+ : __SYS_REG_LIST( "0" (__r0), "r" (__r1) ) \
77+ : "memory" ); \
78+ __res = __res_r0; \
79+ __syscall_return(type,__res); \
80+}
81+
82+
83+#define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \
84+type name(type1 arg1,type2 arg2,type3 arg3) { \
85+ __SYS_REG(name) \
86+ register long __r0 __asm__("r0") = (long)arg1; \
87+ register long __r1 __asm__("r1") = (long)arg2; \
88+ register long __r2 __asm__("r2") = (long)arg3; \
89+ register long __res_r0 __asm__("r0"); \
90+ long __res; \
91+ __asm__ __volatile__ ( \
92+ __syscall(name) \
93+ : "=r" (__res_r0) \
94+ : __SYS_REG_LIST( "0" (__r0), "r" (__r1), "r" (__r2) ) \
95+ : "memory" ); \
96+ __res = __res_r0; \
97+ __syscall_return(type,__res); \
98+}
99+
100+
101+#define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4)\
102+type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4) { \
103+ __SYS_REG(name) \
104+ register long __r0 __asm__("r0") = (long)arg1; \
105+ register long __r1 __asm__("r1") = (long)arg2; \
106+ register long __r2 __asm__("r2") = (long)arg3; \
107+ register long __r3 __asm__("r3") = (long)arg4; \
108+ register long __res_r0 __asm__("r0"); \
109+ long __res; \
110+ __asm__ __volatile__ ( \
111+ __syscall(name) \
112+ : "=r" (__res_r0) \
113+ : __SYS_REG_LIST( "0" (__r0), "r" (__r1), "r" (__r2), "r" (__r3) ) \
114+ : "memory" ); \
115+ __res = __res_r0; \
116+ __syscall_return(type,__res); \
117+}
118+
119+
120+#define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4,type5,arg5) \
121+type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5) { \
122+ __SYS_REG(name) \
123+ register long __r0 __asm__("r0") = (long)arg1; \
124+ register long __r1 __asm__("r1") = (long)arg2; \
125+ register long __r2 __asm__("r2") = (long)arg3; \
126+ register long __r3 __asm__("r3") = (long)arg4; \
127+ register long __r4 __asm__("r4") = (long)arg5; \
128+ register long __res_r0 __asm__("r0"); \
129+ long __res; \
130+ __asm__ __volatile__ ( \
131+ __syscall(name) \
132+ : "=r" (__res_r0) \
133+ : __SYS_REG_LIST( "0" (__r0), "r" (__r1), "r" (__r2), \
134+ "r" (__r3), "r" (__r4) ) \
135+ : "memory" ); \
136+ __res = __res_r0; \
137+ __syscall_return(type,__res); \
138+}
139+
140+#define _syscall6(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4,type5,arg5,type6,arg6) \
141+type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5, type6 arg6) { \
142+ __SYS_REG(name) \
143+ register long __r0 __asm__("r0") = (long)arg1; \
144+ register long __r1 __asm__("r1") = (long)arg2; \
145+ register long __r2 __asm__("r2") = (long)arg3; \
146+ register long __r3 __asm__("r3") = (long)arg4; \
147+ register long __r4 __asm__("r4") = (long)arg5; \
148+ register long __r5 __asm__("r5") = (long)arg6; \
149+ register long __res_r0 __asm__("r0"); \
150+ long __res; \
151+ __asm__ __volatile__ ( \
152+ __syscall(name) \
153+ : "=r" (__res_r0) \
154+ : __SYS_REG_LIST( "0" (__r0), "r" (__r1), "r" (__r2), \
155+ "r" (__r3), "r" (__r4), "r" (__r5) ) \
156+ : "memory" ); \
157+ __res = __res_r0; \
158+ __syscall_return(type,__res); \
159+}
160+
161+#define __ARCH_WANT_IPC_PARSE_VERSION
162+#define __ARCH_WANT_STAT64
163+#define __ARCH_WANT_SYS_GETHOSTNAME
164+#define __ARCH_WANT_SYS_PAUSE
165+#define __ARCH_WANT_SYS_GETPGRP
166+#define __ARCH_WANT_SYS_LLSEEK
167+#define __ARCH_WANT_SYS_NICE
168+#define __ARCH_WANT_SYS_SIGPENDING
169+#define __ARCH_WANT_SYS_SIGPROCMASK
170+#define __ARCH_WANT_SYS_RT_SIGACTION
171+
172+#if !defined(CONFIG_AEABI) || defined(CONFIG_OABI_COMPAT)
173+#define __ARCH_WANT_SYS_TIME
174+#define __ARCH_WANT_SYS_OLDUMOUNT
175+#define __ARCH_WANT_SYS_ALARM
176+#define __ARCH_WANT_SYS_UTIME
177+#define __ARCH_WANT_SYS_OLD_GETRLIMIT
178+#define __ARCH_WANT_OLD_READDIR
179+#define __ARCH_WANT_SYS_SOCKETCALL
180+#endif
181+
182+/*
183+ * "Conditional" syscalls
184+ *
185+ * What we want is __attribute__((weak,alias("sys_ni_syscall"))),
186+ * but it doesn't work on all toolchains, so we just do it by hand
187+ */
188+#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
189+
190 #endif /* __ASM_ARM_UNISTD_H */
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/linux-err.patch b/meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/linux-err.patch
deleted file mode 100644
index 39a8e8a2f5..0000000000
--- a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.18+2.6.19-rc1/linux-err.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1# Add linux/err.h for MAX_ERRNO definition, needed by util-linux mount
2
3Index: linux-2.6.19-rc1/usr/include/linux/err.h
4===================================================================
5--- /dev/null 1970-01-01 00:00:00.000000000 +0000
6+++ linux-2.6.19-rc1/usr/include/linux/err.h 2006-10-05 10:55:17.000000000 +0200
7@@ -0,0 +1,16 @@
8+#ifndef _LINUX_ERR_H
9+#define _LINUX_ERR_H
10+
11+#include <asm/errno.h>
12+
13+/*
14+ * Kernel pointers have redundant information, so we can use a
15+ * scheme where we can return either an error code or a dentry
16+ * pointer with the same return value.
17+ *
18+ * This should be a per-architecture thing, to allow different
19+ * error and pointer decisions.
20+ */
21+#define MAX_ERRNO 4095
22+
23+#endif /* _LINUX_ERR_H */
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.18/arm-syscall-define.patch b/meta/packages/linux-libc-headers/linux-libc-headers-2.6.18/arm-syscall-define.patch
deleted file mode 100644
index ec5a87d2a3..0000000000
--- a/meta/packages/linux-libc-headers/linux-libc-headers-2.6.18/arm-syscall-define.patch
+++ /dev/null
@@ -1,22 +0,0 @@
1# define the _syscall macros, needed to build util-linux
2
3Index: linux-2.6.18/include/asm-arm/unistd.h
4===================================================================
5--- linux-2.6.18.orig/include/asm-arm/unistd.h 2006-10-02 18:05:31.000000000 +0200
6+++ linux-2.6.18/include/asm-arm/unistd.h 2006-10-02 18:05:47.000000000 +0200
7@@ -376,9 +376,6 @@
8 #undef __NR_ipc
9 #endif
10
11-#ifdef __KERNEL__
12-#include <linux/linkage.h>
13-
14 #define __sys2(x) #x
15 #define __sys1(x) __sys2(x)
16
17@@ -580,5 +577,4 @@
18 */
19 #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
20
21-#endif /* __KERNEL__ */
22 #endif /* __ASM_ARM_UNISTD_H */
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.11.1.bb b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.11.1.bb
deleted file mode 100644
index 3f5cc3a0b5..0000000000
--- a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.11.1.bb
+++ /dev/null
@@ -1,58 +0,0 @@
1require linux-libc-headers.inc
2
3HOMEPAGE = "http://ep09.pld-linux.org/~mmazur/linux-libc-headers/"
4# license note from the package:
5# Linux-libc-headers are derived from linux kernel headers. For license of a
6# particular header, check it's content, and if copyright notice isn't present,
7# standard linux kernel license applies.
8# since we assume GPL for linux i think we can also assume it here
9INHIBIT_DEFAULT_DEPS = "1"
10PR = "r2"
11
12SRC_URI = "http://ep09.pld-linux.org/~mmazur/linux-libc-headers/linux-libc-headers-${PV}.tar.bz2 \
13 file://keyboard.patch;patch=1"
14
15S = "${WORKDIR}/linux-libc-headers-${PV}"
16
17do_configure () {
18 case ${TARGET_ARCH} in
19 alpha*) ARCH=alpha ;;
20 arm*) ARCH=arm ;;
21 cris*) ARCH=cris ;;
22 hppa*) ARCH=parisc ;;
23 i*86*) ARCH=i386 ;;
24 ia64*) ARCH=ia64 ;;
25 mips*) ARCH=mips ;;
26 m68k*) ARCH=m68k ;;
27 powerpc*) ARCH=ppc ;;
28 s390*) ARCH=s390 ;;
29 sh*) ARCH=sh ;;
30 sparc64*) ARCH=sparc64 ;;
31 sparc*) ARCH=sparc ;;
32 x86_64*) ARCH=x86_64 ;;
33 esac
34 if test ! -e include/asm-$ARCH; then
35 oefatal unable to create asm symlink in kernel headers
36 fi
37 cp -pPR "include/asm-$ARCH" "include/asm"
38 if test "$ARCH" = "arm"; then
39 cp -pPR include/asm/arch-ebsa285 include/asm/arch
40 elif test "$ARCH" = "sh"; then
41 cp -pPR include/asm/cpu-${TARGET_ARCH} include/asm/cpu || die "unable to create include/asm/cpu"
42 cp -pPR include/asm/cpu/* include/asm
43 fi
44}
45
46do_stage () {
47 install -d ${STAGING_INCDIR}
48 rm -rf ${STAGING_INCDIR}/linux ${STAGING_INCDIR}/asm
49 cp -pfLR include/linux ${STAGING_INCDIR}/
50 cp -pfLR include/asm ${STAGING_INCDIR}/
51}
52
53do_install() {
54 install -d ${D}${includedir}
55 cp -pfLR include/linux ${D}${includedir}/
56 cp -pfLR include/asm ${D}${includedir}/
57}
58
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.15.99.bb b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.15.99.bb
deleted file mode 100644
index 0dba90dc97..0000000000
--- a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.15.99.bb
+++ /dev/null
@@ -1,72 +0,0 @@
1require linux-libc-headers.inc
2
3# This package is derived from the original linux-libc-headers at
4# http://ep09.pld-linux.org/~mmazur/linux-libc-headers/
5# More specifically, llh-2.6.12.0 was patched up to 2.6.16-rc6 with
6# the official linux patches (where applicable) and then fixed up just
7# enough to build glibc-2.4. BEWARE!
8#
9# license note from the linux-libc-headers package:
10# Linux-libc-headers are derived from linux kernel headers. For license of a
11# particular header, check it's content, and if copyright notice isn't present,
12# standard linux kernel license applies.
13# since we assume GPL for linux i think we can also assume it here
14DEFAULT_PREFERENCE = "-1"
15INHIBIT_DEFAULT_DEPS = "1"
16PR = "r4"
17
18SRC_URI = "http://ewi546.ewi.utwente.nl/OE/eabi/linux-libc-headers-${PV}.tar.bz2 \
19 file://keyboard.patch;patch=1 \
20 file://asm-arch-irqs.patch;patch=1 \
21 file://linux-netdevice.patch;patch=1 \
22 file://linux-netfilter_ipv4.patch;patch=1 \
23 file://linux-rtc.patch;patch=1 \
24 file://linux-videodev2.patch;patch=1 \
25 file://3477-1.patch;patch=1"
26
27S = "${WORKDIR}/linux-libc-headers-${PV}"
28
29do_configure () {
30 case ${TARGET_ARCH} in
31 alpha*) ARCH=alpha ;;
32 arm*) ARCH=arm ;;
33 cris*) ARCH=cris ;;
34 hppa*) ARCH=parisc ;;
35 i*86*) ARCH=i386 ;;
36 ia64*) ARCH=ia64 ;;
37 mips*) ARCH=mips ;;
38 m68k*) ARCH=m68k ;;
39 powerpc*) ARCH=ppc ;;
40 s390*) ARCH=s390 ;;
41 sh*) ARCH=sh ;;
42 sparc64*) ARCH=sparc64 ;;
43 sparc*) ARCH=sparc ;;
44 x86_64*) ARCH=x86_64 ;;
45 esac
46 if test ! -e include/asm-$ARCH; then
47 oefatal unable to create asm symlink in kernel headers
48 fi
49 rm "include/asm"
50 cp -pPR "include/asm-$ARCH" "include/asm"
51 if test "$ARCH" = "arm"; then
52 cp -pPR include/asm/arch-ebsa285 include/asm/arch
53 elif test "$ARCH" = "sh"; then
54 cp -pPR include/asm/cpu-${TARGET_ARCH} include/asm/cpu || die "unable to create include/asm/cpu"
55 fi
56}
57
58do_stage () {
59 install -d ${STAGING_INCDIR}
60 rm -rf ${STAGING_INCDIR}/linux ${STAGING_INCDIR}/asm ${STAGING_INCDIR}/asm-generic
61 cp -pfLR include/linux ${STAGING_INCDIR}/
62 cp -pfLR include/asm ${STAGING_INCDIR}/
63 cp -pfLR include/asm-generic ${STAGING_INCDIR}/
64}
65
66do_install() {
67 install -d ${D}${includedir}
68 cp -pfLR include/linux ${D}${includedir}/
69 cp -pfLR include/asm ${D}${includedir}/
70 cp -pfLR include/asm-generic ${D}${includedir}/
71}
72
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb
deleted file mode 100644
index 7cb5c4aa2d..0000000000
--- a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.18+2.6.19-rc1.bb
+++ /dev/null
@@ -1,58 +0,0 @@
1require linux-libc-headers.inc
2
3DEFAULT_PREFERENCE = "-1"
4INHIBIT_DEFAULT_DEPS = "1"
5PR = "r2"
6
7SRC_URI = " \
8 ${KERNELORG_MIRROR}/pub/linux/kernel/people/dwmw2/kernel-headers/snapshot/linux-kernel-headers-2.6.19-rc1.tar.bz2 \
9 file://arm-procinfo-hwcap.patch;patch=1 \
10 file://arm-unistd-syscall.patch;patch=1 \
11 file://linux-err.patch;patch=1 \
12"
13
14S = "${WORKDIR}/linux-2.6.19-rc1"
15
16set_arch() {
17 case ${TARGET_ARCH} in
18 alpha*) ARCH=alpha ;;
19 arm*) ARCH=arm ;;
20 cris*) ARCH=cris ;;
21 hppa*) ARCH=parisc ;;
22 i*86*) ARCH=i386 ;;
23 ia64*) ARCH=ia64 ;;
24 mips*) ARCH=mips ;;
25 m68k*) ARCH=m68k ;;
26 powerpc*) ARCH=powerpc ;;
27 s390*) ARCH=s390 ;;
28 sh*) ARCH=sh ;;
29 sparc64*) ARCH=sparc64 ;;
30 sparc*) ARCH=sparc ;;
31 x86_64*) ARCH=x86_64 ;;
32 esac
33}
34
35do_install() {
36 set_arch
37 install -d ${D}${includedir}
38 cp -pfLR ${S}${includedir}/linux ${D}${includedir}/
39 cp -pfLR ${S}${includedir}/asm-${ARCH} ${D}${includedir}/asm
40 cp -pfLR ${S}${includedir}/asm-generic ${D}${includedir}/
41}
42
43do_stage () {
44 set_arch
45 install -d ${STAGING_INCDIR}
46 rm -rf ${STAGING_INCDIR}/linux ${STAGING_INCDIR}/asm ${STAGING_INCDIR}/asm-generic
47 cp -pfLR ${S}${includedir}/linux ${STAGING_INCDIR}/
48 cp -pfLR ${S}${includedir}/asm-${ARCH} ${STAGING_INCDIR}/asm
49 cp -pfLR ${S}${includedir}/asm-generic ${STAGING_INCDIR}/
50}
51
52do_stage_append_nylon () {
53 cp -pPR include/asm-${ARCH}/* ${STAGING_INCDIR}/asm/
54 cp -pPR include/asm-${ARCH}/* ${CROSS_DIR}/${TARGET_SYS}/include/asm/
55 cp -pPR include/linux/* ${STAGING_INCDIR}/linux/
56 cp -pPR include/linux/* ${CROSS_DIR}/${TARGET_SYS}/include/linux/
57}
58
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers_csl-arm-2005q3-2.bb b/meta/packages/linux-libc-headers/linux-libc-headers_csl-arm-2005q3-2.bb
deleted file mode 100644
index ec8d9c7ab1..0000000000
--- a/meta/packages/linux-libc-headers/linux-libc-headers_csl-arm-2005q3-2.bb
+++ /dev/null
@@ -1,81 +0,0 @@
1SECTION = "devel"
2DESCRIPTION = "Sanitized set of 2.6 kernel headers for the C library's use."
3# This package is derived from the original linux-libc-headers at
4# http://ep09.pld-linux.org/~mmazur/linux-libc-headers/
5# More specifically, llh-2.6.12.0 was patched up to 2.6.16-rc6 with
6# the official linux patches (where applicable) and then fixed up just
7# enough to build glibc-2.4. BEWARE!
8#
9# license note from the linux-libc-headers package:
10# Linux-libc-headers are derived from linux kernel headers. For license of a
11# particular header, check it's content, and if copyright notice isn't present,
12# standard linux kernel license applies.
13# since we assume GPL for linux i think we can also assume it here
14LICENSE = "GPL"
15DEFAULT_PREFERENCE = "-1"
16INHIBIT_DEFAULT_DEPS = "1"
17PR = "r4"
18PV = "2.6.12rc3+csl-arm-2005q3-2"
19
20SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/arm-none-linux-gnueabi/arm-2005q3-2-arm-none-linux-gnueabi.src.tar.bz2"
21
22#unpack the inner tarball, extract the include directory and do little
23#cleanup
24do_unpack2() {
25 cd ${WORKDIR}
26 tar -xvjf ./arm-2005q3-2-arm-none-linux-gnueabi/linux-2005q3-2.tar.bz2
27 mkdir -p linux-include
28 mv ./linux-2.6.12rc3/include ./linux-include
29 rm ./linux-include/include/asm-arm/arch
30 rm -rf ./arm-2005q3-2-arm-none-linux-gnuabi
31 rm -rf ./linux-2.6.12.rc3
32}
33
34addtask unpack2 after do_unpack before do_patch
35
36S = "${WORKDIR}/linux-include"
37
38do_configure () {
39 case ${TARGET_ARCH} in
40 alpha*) ARCH=alpha ;;
41 arm*) ARCH=arm ;;
42 cris*) ARCH=cris ;;
43 hppa*) ARCH=parisc ;;
44 i*86*) ARCH=i386 ;;
45 ia64*) ARCH=ia64 ;;
46 mips*) ARCH=mips ;;
47 m68k*) ARCH=m68k ;;
48 powerpc*) ARCH=ppc ;;
49 s390*) ARCH=s390 ;;
50 sh*) ARCH=sh ;;
51 sparc64*) ARCH=sparc64 ;;
52 sparc*) ARCH=sparc ;;
53 x86_64*) ARCH=x86_64 ;;
54 esac
55 if test ! -e include/asm-$ARCH; then
56 oefatal unable to create asm symlink in kernel headers
57 fi
58 rm "include/asm"
59 cp -pPR "include/asm-$ARCH" "include/asm"
60 if test "$ARCH" = "arm"; then
61 cp -pPR include/asm/arch-ebsa285 include/asm/arch
62 elif test "$ARCH" = "sh"; then
63 cp -pPR include/asm/cpu-${TARGET_ARCH} include/asm/cpu || die "unable to create include/asm/cpu"
64 fi
65}
66
67do_stage () {
68 install -d ${STAGING_INCDIR}
69 rm -rf ${STAGING_INCDIR}/linux ${STAGING_INCDIR}/asm ${STAGING_INCDIR}/asm-generic
70 cp -pfLR include/linux ${STAGING_INCDIR}/
71 cp -pfLR include/asm ${STAGING_INCDIR}/
72 cp -pfLR include/asm-generic ${STAGING_INCDIR}/
73}
74
75do_install() {
76 install -d ${D}${includedir}
77 cp -pfLR include/linux ${D}${includedir}/
78 cp -pfLR include/asm ${D}${includedir}/
79 cp -pfLR include/asm-generic ${D}${includedir}/
80}
81