# Choose the kernel headers to use for kernel-headers target. This is
# ignored if you are building your own kernel or using the system kernel.
#

comment "Kernel Header Options"

choice
	prompt "Kernel Headers"
	default BR2_KERNEL_HEADERS_2_6_30

	help
	  Select the version of kernel header files you wish to use.
	  You must select the correct set of header files to match
	  the kernel you intend to use on your target system.

	  For the snapshot, you have to provide the
	  linux-2.6.tar.bz2 tarball in your download dir.

	config BR2_KERNEL_HEADERS_2_6_26
		depends on BR2_DEPRECATED
		bool "Linux 2.6.26.x kernel headers"

	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 || BR2_RECENT

	config BR2_KERNEL_HEADERS_2_6_30
		bool "Linux 2.6.30.x kernel headers"

	config BR2_KERNEL_HEADERS_SNAP
		bool "Linux 2.6 snapshot"

endchoice

config BR2_KERNEL_HEADERS_RT
	bool "use realtime (-rt) kernel patches"
	depends on BR2_KERNEL_HEADERS_2_6_26
	help
	  Apply Ingo's realtime extensions to linux

config BR2_DEFAULT_KERNEL_HEADERS
	string
	default "2.6.26.8"	if BR2_KERNEL_HEADERS_2_6_26
	default "2.6.27.26"	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.1"	if BR2_KERNEL_HEADERS_2_6_30
	default "2.6"		if BR2_KERNEL_HEADERS_SNAP

