summaryrefslogtreecommitdiff
path: root/config/kernel_linux.in
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-02-24 11:00:05 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-02-24 11:00:05 (GMT)
commit1906cf93f86d8d66f45f90380a8d3da25c087ee5 (patch)
tree90916c99abe1f1ec26709ee420e6c349eda4670a /config/kernel_linux.in
parent2609573aede4ce198b3462976725b25eb1637d2e (diff)
Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!". Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup. That means I'm putting backups in place in the afternoon. That also means we've lost history... :-(
Diffstat (limited to 'config/kernel_linux.in')
-rw-r--r--config/kernel_linux.in102
1 files changed, 102 insertions, 0 deletions
diff --git a/config/kernel_linux.in b/config/kernel_linux.in
new file mode 100644
index 0000000..aa07cad
--- /dev/null
+++ b/config/kernel_linux.in
@@ -0,0 +1,102 @@
+# Linux kernel options
+
+choice
+ bool
+ prompt "Get kernel headers from:"
+
+config KERNEL_LINUX_HEADERS_INSTALL
+ bool
+ prompt "kernel's 'headers_install'"
+ help
+ This will make use of the new headers_install rule in recent kernels.
+ This is most probably what you want to use.
+
+config KERNEL_LINUX_HEADERS_SANITISED
+ bool
+ prompt "Mazur's sanitized headers (OBSOLETE)"
+ help
+ M. Mazur used to maintain a tree of sanitised headers, but it is now
+ obsoleted by the headers_install rule (above), and has not seen eny
+ update since 2.6.12
+
+config KERNEL_LINUX_HEADERS_COPY
+ bool
+ prompt "pure kernel headers (NOT RECOMMENDED)"
+ help
+ This will simply copy the kernel headers to the toolchain.
+
+ You do NOT want this. It's badly broken because it leaks kernel internals
+ to userspace.
+
+endchoice
+
+config KERNEL
+ string
+ default "linux" if KERNEL_LINUX_HEADERS_INSTALL || KERNEL_LINUX_HEADERS_COPY
+ default "linux-libc-headers" if KERNEL_LINUX_HEADERS_SANITISED
+
+config KERNEL_VERSION_SEE_EXTRAVERSION
+ bool
+ prompt "See extra versions"
+ default n
+ depends on ! KERNEL_LINUX_HEADERS_SANITISED
+ help
+ See extra versions (kernel with 4 numbers, eg 2.6.19.1).
+
+ If you say 'no', you'll only see sub-level, 3-digit versions.
+ If you say 'yes', you'll see far more versions!
+
+ It is recommended that you say 'no', unless you _*know*_
+ that an extra version fixes a headers bug.
+
+if KERNEL_LINUX_HEADERS_INSTALL
+source config/kernel_linux_headers_install.in
+endif
+
+if KERNEL_LINUX_HEADERS_COPY
+source config/kernel_linux_headers_copy.in
+endif
+
+if KERNEL_LINUX_HEADERS_SANITISED
+source config/kernel_linux_headers_sanitised.in
+endif
+
+choice
+ bool
+ prompt "Kernel verbosity:"
+ default KERNEL_LINUX_VERBOSITY_0
+
+config KERNEL_LINUX_VERBOSITY_0
+ bool
+ prompt "Simplified"
+ help
+ Print simplified command lines.
+
+config KERNEL_LINUX_VERBOSITY_1
+ bool
+ prompt "Full commands"
+ help
+ Print full command lines.
+
+config KERNEL_LINUX_VERBOSITY_2
+ bool
+ prompt "Exec reasons"
+ help
+ Print the reasons why a make target is rebuild.
+
+endchoice
+
+config KERNEL_LINUX_VERBOSE_LEVEL
+ int
+ default 0 if KERNEL_LINUX_VERBOSITY_0
+ default 1 if KERNEL_LINUX_VERBOSITY_1
+ default 2 if KERNEL_LINUX_VERBOSITY_2
+
+config KERNEL_LINUX_CONFIG_FILE
+ string
+ prompt "Configuration file"
+ default ""
+ help
+ Path to the kernel configuration file.
+
+ You _must_ provide one (for now).