Update the set of available kernel headers to include 2.4.31 and 2.6.12

This commit is contained in:
Eric Andersen 2005-07-18 22:20:12 +00:00
parent 7b8aeaeb28
commit 58f2a53ffb
2 changed files with 26 additions and 8 deletions

View File

@ -6,7 +6,7 @@ comment "Kernel Header Options"
choice choice
prompt "Kernel Headers" prompt "Kernel Headers"
default BR2_KERNEL_HEADERS_2_4_29 default BR2_KERNEL_HEADERS_2_4_31
help help
Select the version of kernel header files you wish to use. Select the version of kernel header files you wish to use.
You must select the correct set of header files to match You must select the correct set of header files to match
@ -21,15 +21,15 @@ choice
config BR2_KERNEL_HEADERS_2_4_29 config BR2_KERNEL_HEADERS_2_4_29
bool "Linux 2.4.29 kernel headers" bool "Linux 2.4.29 kernel headers"
config BR2_KERNEL_HEADERS_2_6_9 config BR2_KERNEL_HEADERS_2_4_31
bool "Linux 2.6.9 kernel headers" bool "Linux 2.4.31 kernel headers"
config BR2_KERNEL_HEADERS_2_6_10
bool "Linux 2.6.10 kernel headers"
config BR2_KERNEL_HEADERS_2_6_11 config BR2_KERNEL_HEADERS_2_6_11
bool "Linux 2.6.11 kernel headers" bool "Linux 2.6.11 kernel headers"
config BR2_KERNEL_HEADERS_2_6_12
bool "Linux 2.6.12 kernel headers"
endchoice endchoice
config BR2_DEFAULT_KERNEL_HEADERS config BR2_DEFAULT_KERNEL_HEADERS
@ -37,7 +37,7 @@ config BR2_DEFAULT_KERNEL_HEADERS
default "2.4.25" if BR2_KERNEL_HEADERS_2_4_25 default "2.4.25" if BR2_KERNEL_HEADERS_2_4_25
default "2.4.27" if BR2_KERNEL_HEADERS_2_4_27 default "2.4.27" if BR2_KERNEL_HEADERS_2_4_27
default "2.4.29" if BR2_KERNEL_HEADERS_2_4_29 default "2.4.29" if BR2_KERNEL_HEADERS_2_4_29
default "2.6.9" if BR2_KERNEL_HEADERS_2_6_9 default "2.4.31" if BR2_KERNEL_HEADERS_2_4_31
default "2.6.10" if BR2_KERNEL_HEADERS_2_6_10
default "2.6.11" if BR2_KERNEL_HEADERS_2_6_11 default "2.6.11" if BR2_KERNEL_HEADERS_2_6_11
default "2.6.12" if BR2_KERNEL_HEADERS_2_6_12

View File

@ -42,6 +42,15 @@ LINUX_HEADERS_SOURCE:=linux-libc-headers-2.4.29.tar.bz2
LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.4.29 LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.4.29
endif endif
ifeq ("$(strip $(DEFAULT_KERNEL_HEADERS))","2.4.31")
VERSION:=2
PATCHLEVEL:=4
SUBLEVEL:=31
LINUX_HEADERS_SITE:=http://www.uclibc.org/downloads/toolchain
LINUX_HEADERS_SOURCE:=linux-libc-headers-2.4.31.tar.bz2
LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.4.31
endif
ifeq ("$(strip $(DEFAULT_KERNEL_HEADERS))","2.6.9") ifeq ("$(strip $(DEFAULT_KERNEL_HEADERS))","2.6.9")
VERSION:=2 VERSION:=2
PATCHLEVEL:=6 PATCHLEVEL:=6
@ -69,6 +78,15 @@ LINUX_HEADERS_SOURCE:=linux-libc-headers-2.6.11.0.tar.bz2
LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.6.11.0 LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.6.11.0
endif endif
ifeq ("$(strip $(DEFAULT_KERNEL_HEADERS))","2.6.12")
VERSION:=2
PATCHLEVEL:=6
SUBLEVEL:=12
LINUX_HEADERS_SITE:=http://ep09.pld-linux.org/~mmazur/linux-libc-headers/
LINUX_HEADERS_SOURCE:=linux-libc-headers-2.6.12.0.tar.bz2
LINUX_HEADERS_UNPACK_DIR:=$(TOOL_BUILD_DIR)/linux-libc-headers-2.6.12.0
endif
LINUX_VERSION:=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL) LINUX_VERSION:=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)
LINUX_HEADERS_DIR:=$(TOOL_BUILD_DIR)/linux LINUX_HEADERS_DIR:=$(TOOL_BUILD_DIR)/linux