Introduce an OBSOLETE config option, to mask-out legacy stuff.
5 prompt "Get kernel headers from:"
7 config KERNEL_LINUX_HEADERS_INSTALL
9 prompt "kernel's 'headers_install'"
11 This will make use of the new headers_install rule in recent kernels.
12 This is most probably what you want to use.
14 config KERNEL_LINUX_HEADERS_SANITISED
16 prompt "Mazur's sanitized headers (OBSOLETE)"
19 M. Mazur used to maintain a tree of sanitised headers, but it is now
20 obsoleted by the headers_install rule (above), and has not seen eny
23 config KERNEL_LINUX_HEADERS_COPY
25 prompt "pure kernel headers (REALLY OBSOLETE)"
28 This will simply copy the kernel headers to the toolchain.
30 You do NOT want this. It's badly broken because it leaks kernel internals
33 config KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR
35 prompt "Use custom directory"
37 If you have some kernel headers lying around, you can enter the path
44 default "linux" if ! KERNEL_LINUX_HEADERS_SANITISED
45 default "linux-libc-headers" if KERNEL_LINUX_HEADERS_SANITISED
47 config KERNEL_VERSION_SEE_EXTRAVERSION
49 prompt "See extra versions"
51 depends on KERNEL_LINUX_HEADERS_COPY || KERNEL_LINUX_HEADERS_INSTALL
53 See extra versions (kernel with 4 numbers, eg 2.6.19.1).
55 If you say 'no', you'll only see sub-level, 3-digit versions.
56 If you say 'yes', you'll see far more versions!
58 It is recommended that you say 'no', unless you _*know*_
59 that an extra version fixes a headers bug.
61 if KERNEL_LINUX_HEADERS_INSTALL
62 source config/kernel_linux_headers_install.in
65 if KERNEL_LINUX_HEADERS_COPY
66 source config/kernel_linux_headers_copy.in
69 if KERNEL_LINUX_HEADERS_SANITISED
70 source config/kernel_linux_headers_sanitised.in
73 config KERNEL_LINUX_HEADERS_CUSTOM_DIR
75 prompt "Where are those custom headers?"
76 depends on KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR
78 Enter the base directory where the headers are to be found.
80 Eg. if the headers are in /some/place/include, then enter /some/place.
81 This is the same path you entered when you typed:
82 make INSTALL_HDR_PATH=/some/place headers_install
84 if ! KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR
88 prompt "Kernel verbosity:"
89 default KERNEL_LINUX_VERBOSITY_0
91 config KERNEL_LINUX_VERBOSITY_0
95 Print simplified command lines.
97 config KERNEL_LINUX_VERBOSITY_1
99 prompt "Full commands"
101 Print full command lines.
103 config KERNEL_LINUX_VERBOSITY_2
105 prompt "Exec reasons"
107 Print the reasons why a make target is rebuild.
111 config KERNEL_LINUX_VERBOSE_LEVEL
113 default 0 if KERNEL_LINUX_VERBOSITY_0
114 default 1 if KERNEL_LINUX_VERBOSITY_1
115 default 2 if KERNEL_LINUX_VERBOSITY_2
117 config KERNEL_LINUX_CONFIG_FILE
119 prompt "Configuration file"
122 Path to a kernel configuration file.
124 If you don't provide one, then the default configuration for
125 your target will be used.