From: Eric Andersen Date: Mon, 18 Jul 2005 22:20:12 +0000 (-0000) Subject: Update the set of available kernel headers to include 2.4.31 and 2.6.12 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58f2a53ffbe96f976dc431407db687aa7e38842a;p=buildroot.git Update the set of available kernel headers to include 2.4.31 and 2.6.12 --- diff --git a/toolchain/kernel-headers/Config.in b/toolchain/kernel-headers/Config.in index efc13d0fd9..af0237f6d0 100644 --- a/toolchain/kernel-headers/Config.in +++ b/toolchain/kernel-headers/Config.in @@ -6,7 +6,7 @@ comment "Kernel Header Options" choice prompt "Kernel Headers" - default BR2_KERNEL_HEADERS_2_4_29 + default BR2_KERNEL_HEADERS_2_4_31 help Select the version of kernel header files you wish to use. You must select the correct set of header files to match @@ -21,15 +21,15 @@ choice config BR2_KERNEL_HEADERS_2_4_29 bool "Linux 2.4.29 kernel headers" - config BR2_KERNEL_HEADERS_2_6_9 - bool "Linux 2.6.9 kernel headers" - - config BR2_KERNEL_HEADERS_2_6_10 - bool "Linux 2.6.10 kernel headers" + config BR2_KERNEL_HEADERS_2_4_31 + bool "Linux 2.4.31 kernel headers" config BR2_KERNEL_HEADERS_2_6_11 bool "Linux 2.6.11 kernel headers" + config BR2_KERNEL_HEADERS_2_6_12 + bool "Linux 2.6.12 kernel headers" + endchoice 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.27" if BR2_KERNEL_HEADERS_2_4_27 default "2.4.29" if BR2_KERNEL_HEADERS_2_4_29 - default "2.6.9" if BR2_KERNEL_HEADERS_2_6_9 - default "2.6.10" if BR2_KERNEL_HEADERS_2_6_10 + default "2.4.31" if BR2_KERNEL_HEADERS_2_4_31 default "2.6.11" if BR2_KERNEL_HEADERS_2_6_11 + default "2.6.12" if BR2_KERNEL_HEADERS_2_6_12 diff --git a/toolchain/kernel-headers/kernel-headers.mk b/toolchain/kernel-headers/kernel-headers.mk index 67a1de1095..64b88dd7e7 100644 --- a/toolchain/kernel-headers/kernel-headers.mk +++ b/toolchain/kernel-headers/kernel-headers.mk @@ -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 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") VERSION:=2 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 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_HEADERS_DIR:=$(TOOL_BUILD_DIR)/linux