summaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/kernel-headers/Config.in')
-rw-r--r--toolchain/kernel-headers/Config.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/Config.in b/toolchain/kernel-headers/Config.in
new file mode 100644
index 000000000..db286e2d5
--- /dev/null
+++ b/toolchain/kernel-headers/Config.in
@@ -0,0 +1,25 @@
+# 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.
+#
+
+choice
+ prompt "Kernel Headers"
+ default BR2_KERNEL_HEADERS_2_4
+ 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.
+
+ config BR2_KERNEL_HEADERS_2_4
+ bool "Linux 2.4.x kernel headers"
+
+ config BR2_KERNEL_HEADERS_2_6
+ bool "Linux 2.6.x kernel headers"
+
+endchoice
+
+config BR2_DEFAULT_KERNEL_HEADERS
+ string
+ default "2.4.27" if BR2_KERNEL_HEADERS_2_4
+ default "2.6.8" if BR2_KERNEL_HEADERS_2_6
+