1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/config/kernel_linux.in Sat Mar 31 19:45:25 2007 +0000
1.3 @@ -0,0 +1,102 @@
1.4 +# Linux kernel options
1.5 +
1.6 +choice
1.7 + bool
1.8 + prompt "Get kernel headers from:"
1.9 +
1.10 +config KERNEL_LINUX_HEADERS_INSTALL
1.11 + bool
1.12 + prompt "kernel's 'headers_install'"
1.13 + help
1.14 + This will make use of the new headers_install rule in recent kernels.
1.15 + This is most probably what you want to use.
1.16 +
1.17 +config KERNEL_LINUX_HEADERS_SANITISED
1.18 + bool
1.19 + prompt "Mazur's sanitized headers (OBSOLETE)"
1.20 + help
1.21 + M. Mazur used to maintain a tree of sanitised headers, but it is now
1.22 + obsoleted by the headers_install rule (above), and has not seen eny
1.23 + update since 2.6.12
1.24 +
1.25 +config KERNEL_LINUX_HEADERS_COPY
1.26 + bool
1.27 + prompt "pure kernel headers (NOT RECOMMENDED)"
1.28 + help
1.29 + This will simply copy the kernel headers to the toolchain.
1.30 +
1.31 + You do NOT want this. It's badly broken because it leaks kernel internals
1.32 + to userspace.
1.33 +
1.34 +endchoice
1.35 +
1.36 +config KERNEL
1.37 + string
1.38 + default "linux" if KERNEL_LINUX_HEADERS_INSTALL || KERNEL_LINUX_HEADERS_COPY
1.39 + default "linux-libc-headers" if KERNEL_LINUX_HEADERS_SANITISED
1.40 +
1.41 +config KERNEL_VERSION_SEE_EXTRAVERSION
1.42 + bool
1.43 + prompt "See extra versions"
1.44 + default n
1.45 + depends on ! KERNEL_LINUX_HEADERS_SANITISED
1.46 + help
1.47 + See extra versions (kernel with 4 numbers, eg 2.6.19.1).
1.48 +
1.49 + If you say 'no', you'll only see sub-level, 3-digit versions.
1.50 + If you say 'yes', you'll see far more versions!
1.51 +
1.52 + It is recommended that you say 'no', unless you _*know*_
1.53 + that an extra version fixes a headers bug.
1.54 +
1.55 +if KERNEL_LINUX_HEADERS_INSTALL
1.56 +source config/kernel_linux_headers_install.in
1.57 +endif
1.58 +
1.59 +if KERNEL_LINUX_HEADERS_COPY
1.60 +source config/kernel_linux_headers_copy.in
1.61 +endif
1.62 +
1.63 +if KERNEL_LINUX_HEADERS_SANITISED
1.64 +source config/kernel_linux_headers_sanitised.in
1.65 +endif
1.66 +
1.67 +choice
1.68 + bool
1.69 + prompt "Kernel verbosity:"
1.70 + default KERNEL_LINUX_VERBOSITY_0
1.71 +
1.72 +config KERNEL_LINUX_VERBOSITY_0
1.73 + bool
1.74 + prompt "Simplified"
1.75 + help
1.76 + Print simplified command lines.
1.77 +
1.78 +config KERNEL_LINUX_VERBOSITY_1
1.79 + bool
1.80 + prompt "Full commands"
1.81 + help
1.82 + Print full command lines.
1.83 +
1.84 +config KERNEL_LINUX_VERBOSITY_2
1.85 + bool
1.86 + prompt "Exec reasons"
1.87 + help
1.88 + Print the reasons why a make target is rebuild.
1.89 +
1.90 +endchoice
1.91 +
1.92 +config KERNEL_LINUX_VERBOSE_LEVEL
1.93 + int
1.94 + default 0 if KERNEL_LINUX_VERBOSITY_0
1.95 + default 1 if KERNEL_LINUX_VERBOSITY_1
1.96 + default 2 if KERNEL_LINUX_VERBOSITY_2
1.97 +
1.98 +config KERNEL_LINUX_CONFIG_FILE
1.99 + string
1.100 + prompt "Configuration file"
1.101 + default ""
1.102 + help
1.103 + Path to the kernel configuration file.
1.104 +
1.105 + You _must_ provide one (for now).