mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
kernel-headers: add 2.6.35.x, bump stable versions, get rid of 2.6.27/2.6.28
Based on patch by Marcus Osdoba <marcus.osdoba@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
45b776f201
commit
5acb621e8b
@ -6,7 +6,7 @@ comment "Kernel Header Options"
|
||||
|
||||
choice
|
||||
prompt "Kernel Headers"
|
||||
default BR2_KERNEL_HEADERS_2_6_34
|
||||
default BR2_KERNEL_HEADERS_2_6_35
|
||||
|
||||
help
|
||||
Select the version of kernel header files you wish to use.
|
||||
@ -16,14 +16,6 @@ choice
|
||||
For the snapshot, you have to provide the
|
||||
linux-2.6.tar.bz2 tarball in your download dir.
|
||||
|
||||
config BR2_KERNEL_HEADERS_2_6_27
|
||||
depends on BR2_DEPRECATED
|
||||
bool "Linux 2.6.27.x kernel headers"
|
||||
|
||||
config BR2_KERNEL_HEADERS_2_6_28
|
||||
bool "Linux 2.6.28.x kernel headers"
|
||||
depends on BR2_DEPRECATED
|
||||
|
||||
config BR2_KERNEL_HEADERS_2_6_29
|
||||
bool "Linux 2.6.29.x kernel headers"
|
||||
depends on BR2_DEPRECATED
|
||||
@ -38,6 +30,7 @@ choice
|
||||
|
||||
config BR2_KERNEL_HEADERS_2_6_32
|
||||
bool "Linux 2.6.32.x kernel headers"
|
||||
depends on BR2_DEPRECATED
|
||||
|
||||
config BR2_KERNEL_HEADERS_2_6_33
|
||||
bool "Linux 2.6.33.x kernel headers"
|
||||
@ -45,6 +38,9 @@ choice
|
||||
config BR2_KERNEL_HEADERS_2_6_34
|
||||
bool "Linux 2.6.34.x kernel headers"
|
||||
|
||||
config BR2_KERNEL_HEADERS_2_6_35
|
||||
bool "Linux 2.6.35.x kernel headers"
|
||||
|
||||
config BR2_KERNEL_HEADERS_VERSION
|
||||
bool "Linux 2.6 (manually specified version)"
|
||||
|
||||
@ -57,17 +53,16 @@ config BR2_DEFAULT_KERNEL_VERSION
|
||||
depends on BR2_KERNEL_HEADERS_VERSION
|
||||
help
|
||||
Specify the version you want to use.
|
||||
E.g.: 2.6.31.2
|
||||
E.G.: 2.6.31.2
|
||||
|
||||
config BR2_DEFAULT_KERNEL_HEADERS
|
||||
string
|
||||
default "2.6.27.50" if BR2_KERNEL_HEADERS_2_6_27
|
||||
default "2.6.28.10" if BR2_KERNEL_HEADERS_2_6_28
|
||||
default "2.6.29.6" if BR2_KERNEL_HEADERS_2_6_29
|
||||
default "2.6.30.10" if BR2_KERNEL_HEADERS_2_6_30
|
||||
default "2.6.31.14" if BR2_KERNEL_HEADERS_2_6_31
|
||||
default "2.6.32.18" if BR2_KERNEL_HEADERS_2_6_32
|
||||
default "2.6.32.21" if BR2_KERNEL_HEADERS_2_6_32
|
||||
default "2.6.33.7" if BR2_KERNEL_HEADERS_2_6_33
|
||||
default "2.6.34.3" if BR2_KERNEL_HEADERS_2_6_34
|
||||
default "2.6.34.6" if BR2_KERNEL_HEADERS_2_6_34
|
||||
default "2.6.35.4" if BR2_KERNEL_HEADERS_2_6_35
|
||||
default "2.6" if BR2_KERNEL_HEADERS_SNAP
|
||||
default $BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- a/drivers/net/cris/eth_v10.c.org 2009-01-28 09:19:09.000000000 +0100
|
||||
+++ b/drivers/net/cris/eth_v10.c 2009-01-28 09:19:16.000000000 +0100
|
||||
@@ -1707,7 +1707,7 @@
|
||||
static void
|
||||
e100_netpoll(struct net_device* netdev)
|
||||
{
|
||||
- e100rxtx_interrupt(NETWORK_DMA_TX_IRQ_NBR, netdev, NULL);
|
||||
+ e100rxtx_interrupt(NETWORK_DMA_TX_IRQ_NBR, netdev);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,28 +0,0 @@
|
||||
diff -urN linux-2.6.28/arch/cris/include/arch-v10/arch/Kbuild linux-2.6.28.my/arch/cris/include/arch-v10/arch/Kbuild
|
||||
--- linux-2.6.28/arch/cris/include/arch-v10/arch/Kbuild 2008-12-25 00:26:37.000000000 +0100
|
||||
+++ linux-2.6.28.my/arch/cris/include/arch-v10/arch/Kbuild 2009-01-12 12:59:06.000000000 +0100
|
||||
@@ -1,3 +1,5 @@
|
||||
+header-y += elf.h
|
||||
+header-y += ptrace.h
|
||||
header-y += user.h
|
||||
header-y += svinto.h
|
||||
header-y += sv_addr_ag.h
|
||||
diff -urN linux-2.6.28/arch/cris/include/asm/Kbuild linux-2.6.28.my/arch/cris/include/asm/Kbuild
|
||||
--- linux-2.6.28/arch/cris/include/asm/Kbuild 2008-12-25 00:26:37.000000000 +0100
|
||||
+++ linux-2.6.28.my/arch/cris/include/asm/Kbuild 2009-01-12 13:14:40.000000000 +0100
|
||||
@@ -1,11 +1,13 @@
|
||||
include include/asm-generic/Kbuild.asm
|
||||
|
||||
-header-y += arch-v10/
|
||||
-header-y += arch-v32/
|
||||
+header-y += ../arch-v10/arch/
|
||||
+header-y += ../arch-v32/arch/
|
||||
|
||||
+header-y += elf.h
|
||||
header-y += ethernet.h
|
||||
header-y += rtc.h
|
||||
header-y += sync_serial.h
|
||||
+header-y += user.h
|
||||
|
||||
unifdef-y += etraxgpio.h
|
||||
unifdef-y += rs485.h
|
@ -1,45 +0,0 @@
|
||||
--- linux-2.6.28/arch/cris/Makefile 2008-12-25 00:26:37.000000000 +0100
|
||||
+++ linux-2.6.28.my/arch/cris/Makefile 2009-01-12 13:21:44.000000000 +0100
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
LD = $(CROSS_COMPILE)ld -mcrislinux
|
||||
|
||||
-OBJCOPYFLAGS := -O binary -R .note -R .comment -S
|
||||
+OBJCOPYFLAGS := -O binary -R .note -R .note.gnu.build-id -R .comment
|
||||
|
||||
CPPFLAGS_vmlinux.lds = -DDRAM_VIRTUAL_BASE=0x$(CONFIG_ETRAX_DRAM_VIRTUAL_BASE)
|
||||
|
||||
diff -urN linux-2.6.28/arch/cris/arch-v10/boot/Makefile linux-2.6.28.my/arch/cris/arch-v10/boot/Makefile
|
||||
--- linux-2.6.28/arch/cris/arch-v10/boot/Makefile 2008-12-25 00:26:37.000000000 +0100
|
||||
+++ linux-2.6.28.my/arch/cris/arch-v10/boot/Makefile 2009-01-12 13:28:25.000000000 +0100
|
||||
@@ -2,8 +2,6 @@
|
||||
# arch/cris/arch-v10/boot/Makefile
|
||||
#
|
||||
|
||||
-OBJCOPYFLAGS = -O binary --remove-section=.bss
|
||||
-
|
||||
subdir- := compressed rescue
|
||||
targets := Image
|
||||
|
||||
diff -urN linux-2.6.28/arch/cris/arch-v10/boot/compressed/Makefile linux-2.6.28.my/arch/cris/arch-v10/boot/compressed/Makefile
|
||||
--- linux-2.6.28/arch/cris/arch-v10/boot/compressed/Makefile 2008-12-25 00:26:37.000000000 +0100
|
||||
+++ linux-2.6.28.my/arch/cris/arch-v10/boot/compressed/Makefile 2009-01-12 13:28:33.000000000 +0100
|
||||
@@ -6,7 +6,6 @@
|
||||
ccflags-y += -O2 $(LINUXINCLUDE)
|
||||
ldflags-y += -T $(srctree)/$(src)/decompress.lds
|
||||
OBJECTS = $(obj)/head.o $(obj)/misc.o
|
||||
-OBJCOPYFLAGS = -O binary --remove-section=.bss
|
||||
|
||||
quiet_cmd_image = BUILD $@
|
||||
cmd_image = cat $(obj)/decompress.bin $(obj)/piggy.gz > $@
|
||||
diff -urN linux-2.6.28/arch/cris/arch-v10/boot/rescue/Makefile linux-2.6.28.my/arch/cris/arch-v10/boot/rescue/Makefile
|
||||
--- linux-2.6.28/arch/cris/arch-v10/boot/rescue/Makefile 2008-12-25 00:26:37.000000000 +0100
|
||||
+++ linux-2.6.28.my/arch/cris/arch-v10/boot/rescue/Makefile 2009-01-12 13:28:40.000000000 +0100
|
||||
@@ -5,7 +5,6 @@
|
||||
ccflags-y += -O2 $(LINUXINCLUDE)
|
||||
asflags-y += $(LINUXINCLUDE)
|
||||
ldflags-y += -T $(srctree)/$(src)/rescue.lds
|
||||
-OBJCOPYFLAGS = -O binary --remove-section=.bss
|
||||
obj-$(CONFIG_ETRAX_AXISFLASHMAP) = head.o
|
||||
OBJECT := $(obj)/head.o
|
||||
|
@ -1,56 +0,0 @@
|
||||
From d15bd1067b1fcb2b7250d22bc0c7c7fea0b759f7 Mon Sep 17 00:00:00 2001
|
||||
From: Justin P. Mattock <justinmattock@gmail.com>
|
||||
Date: Sat, 7 Mar 2009 13:31:29 +0100
|
||||
Subject: [PATCH] kbuild: fix C libary confusion in unifdef.c due to getline()
|
||||
|
||||
This fixes an error when compiling the kernel.
|
||||
|
||||
CHK include/linux/version.h
|
||||
HOSTCC scripts/unifdef
|
||||
scripts/unifdef.c:209: error: conflicting types for 'getline'
|
||||
/usr/include/stdio.h:651: note: previous declaration of 'getline' was here
|
||||
make[1]: *** [scripts/unifdef] Error 1
|
||||
make: *** [__headers] Error 2
|
||||
|
||||
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
|
||||
Cc: Frederic Weisbecker <fweisbec@gmail.com>
|
||||
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
|
||||
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
|
||||
---
|
||||
scripts/unifdef.c | 6 +++---
|
||||
1 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/scripts/unifdef.c b/scripts/unifdef.c
|
||||
index 552025e..05a31a6 100644
|
||||
--- a/scripts/unifdef.c
|
||||
+++ b/scripts/unifdef.c
|
||||
@@ -206,7 +206,7 @@ static void done(void);
|
||||
static void error(const char *);
|
||||
static int findsym(const char *);
|
||||
static void flushline(bool);
|
||||
-static Linetype getline(void);
|
||||
+static Linetype get_line(void);
|
||||
static Linetype ifeval(const char **);
|
||||
static void ignoreoff(void);
|
||||
static void ignoreon(void);
|
||||
@@ -512,7 +512,7 @@ process(void)
|
||||
|
||||
for (;;) {
|
||||
linenum++;
|
||||
- lineval = getline();
|
||||
+ lineval = get_line();
|
||||
trans_table[ifstate[depth]][lineval]();
|
||||
debug("process %s -> %s depth %d",
|
||||
linetype_name[lineval],
|
||||
@@ -526,7 +526,7 @@ process(void)
|
||||
* help from skipcomment().
|
||||
*/
|
||||
static Linetype
|
||||
-getline(void)
|
||||
+get_line(void)
|
||||
{
|
||||
const char *cp;
|
||||
int cursym;
|
||||
--
|
||||
1.6.3.3
|
||||
|
Loading…
x
Reference in New Issue
Block a user