Commit 58f2a53f authored by Eric Andersen's avatar Eric Andersen
Browse files

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

parent 7b8aeaeb
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -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
+18 −0
Original line number Diff line number Diff line
@@ -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