From 2237fab53635ab7856d8752b7bf331d42416ab33 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Thu, 17 Apr 2008 21:04:23 +0000 Subject: Moving around the files in config/ broke the tools/addToolVersion.sh script. Fix that. /trunk/tools/addToolVersion.sh | 26 13 13 0 +++++++++++++------------- /trunk/config/kernel/linux.in | 6 3 3 0 +++--- /trunk/config/kernel.in | 2 1 1 0 +- /trunk/config/cc.in | 2 1 1 0 +- /trunk/config/libc.in | 4 2 2 0 ++-- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/config/cc.in b/config/cc.in index 2b74fba..dd8fee8 100644 --- a/config/cc.in +++ b/config/cc.in @@ -32,7 +32,7 @@ config CC default "gcc" if CC_GCC if CC_GCC -source config/cc/cc_gcc.in +source config/cc/gcc.in endif config CC_SUPPORT_CXX diff --git a/config/cc/cc_gcc.in b/config/cc/cc_gcc.in deleted file mode 100644 index 9df1dfc..0000000 --- a/config/cc/cc_gcc.in +++ /dev/null @@ -1,130 +0,0 @@ -# Compiler options - -choice - bool - prompt "gcc version" - -config CC_V_2_95_3 - bool - prompt "2.95.3 (OBSOLETE)" - depends on OBSOLETE - -config CC_V_3_2_3 - bool - prompt "3.2.3 (OBSOLETE)" - depends on OBSOLETE - -config CC_V_3_3_6 - bool - prompt "3.3.6 (OBSOLETE)" - depends on OBSOLETE - -config CC_V_3_4_6 - bool - prompt "3.4.6 (OBSOLETE)" - depends on OBSOLETE - -config CC_V_4_0_0 - bool - prompt "4.0.0 (OBSOLETE)" - depends on OBSOLETE - -config CC_V_4_0_1 - bool - prompt "4.0.1 (OBSOLETE)" - depends on OBSOLETE - -config CC_V_4_0_2 - bool - prompt "4.0.2 (OBSOLETE)" - depends on OBSOLETE - -config CC_V_4_0_3 - bool - prompt "4.0.3 (OBSOLETE)" - depends on OBSOLETE - -config CC_V_4_0_4 - bool - prompt "4.0.4" - -config CC_V_4_1_0 - bool - prompt "4.1.0 (OBSOLETE)" - depends on OBSOLETE - -config CC_V_4_1_1 - bool - prompt "4.1.1 (OBSOLETE)" - depends on OBSOLETE - -config CC_V_4_1_2 - bool - prompt "4.1.2" - -config CC_V_4_2_0 - bool - prompt "4.2.0" - -config CC_V_4_2_1 - bool - prompt "4.2.1" - -config CC_V_4_2_2 - bool - prompt "4.2.2" - -config CC_V_4_2_3 - bool - prompt "4.2.3 (EXPERIMENTAL)" - depends on EXPERIMENTAL - -# CT_INSERT_VERSION_ABOVE -# Don't remove above line! -endchoice - -config CC_VERSION - string - default "2.95.3" if CC_V_2_95_3 - default "3.2.3" if CC_V_3_2_3 - default "3.3.6" if CC_V_3_3_6 - default "3.4.6" if CC_V_3_4_6 - default "4.0.0" if CC_V_4_0_0 - default "4.0.1" if CC_V_4_0_1 - default "4.0.2" if CC_V_4_0_2 - default "4.0.3" if CC_V_4_0_3 - default "4.0.4" if CC_V_4_0_4 - default "4.1.0" if CC_V_4_1_0 - default "4.1.1" if CC_V_4_1_1 - default "4.1.2" if CC_V_4_1_2 - default "4.2.0" if CC_V_4_2_0 - default "4.2.1" if CC_V_4_2_1 - default "4.2.2" if CC_V_4_2_2 - default "4.2.3" if CC_V_4_2_3 -# CT_INSERT_VERSION_STRING_ABOVE -# Don't remove above line! - -config CC_CXA_ATEXIT - bool - prompt "__cxa_atexit" - default "y" - help - If you get the missing symbol "__cxa_atexit" when building C++ programs, - you might want to try disabling this option. - -config CC_CORE_EXTRA_CONFIG - string - prompt "Core gcc extra config" - default "" - help - Extra flags to pass onto ./configure when configuring the core gcc. - - The core gcc is a stripped down, C-only compiler needed to build - the C library. Kinda bootstrap gcc, if you wish. - -config CC_EXTRA_CONFIG - string - prompt "gcc extra config" - default "" - help - Extra flags to pass onto ./configure when configuring gcc. diff --git a/config/cc/gcc.in b/config/cc/gcc.in new file mode 100644 index 0000000..9df1dfc --- /dev/null +++ b/config/cc/gcc.in @@ -0,0 +1,130 @@ +# Compiler options + +choice + bool + prompt "gcc version" + +config CC_V_2_95_3 + bool + prompt "2.95.3 (OBSOLETE)" + depends on OBSOLETE + +config CC_V_3_2_3 + bool + prompt "3.2.3 (OBSOLETE)" + depends on OBSOLETE + +config CC_V_3_3_6 + bool + prompt "3.3.6 (OBSOLETE)" + depends on OBSOLETE + +config CC_V_3_4_6 + bool + prompt "3.4.6 (OBSOLETE)" + depends on OBSOLETE + +config CC_V_4_0_0 + bool + prompt "4.0.0 (OBSOLETE)" + depends on OBSOLETE + +config CC_V_4_0_1 + bool + prompt "4.0.1 (OBSOLETE)" + depends on OBSOLETE + +config CC_V_4_0_2 + bool + prompt "4.0.2 (OBSOLETE)" + depends on OBSOLETE + +config CC_V_4_0_3 + bool + prompt "4.0.3 (OBSOLETE)" + depends on OBSOLETE + +config CC_V_4_0_4 + bool + prompt "4.0.4" + +config CC_V_4_1_0 + bool + prompt "4.1.0 (OBSOLETE)" + depends on OBSOLETE + +config CC_V_4_1_1 + bool + prompt "4.1.1 (OBSOLETE)" + depends on OBSOLETE + +config CC_V_4_1_2 + bool + prompt "4.1.2" + +config CC_V_4_2_0 + bool + prompt "4.2.0" + +config CC_V_4_2_1 + bool + prompt "4.2.1" + +config CC_V_4_2_2 + bool + prompt "4.2.2" + +config CC_V_4_2_3 + bool + prompt "4.2.3 (EXPERIMENTAL)" + depends on EXPERIMENTAL + +# CT_INSERT_VERSION_ABOVE +# Don't remove above line! +endchoice + +config CC_VERSION + string + default "2.95.3" if CC_V_2_95_3 + default "3.2.3" if CC_V_3_2_3 + default "3.3.6" if CC_V_3_3_6 + default "3.4.6" if CC_V_3_4_6 + default "4.0.0" if CC_V_4_0_0 + default "4.0.1" if CC_V_4_0_1 + default "4.0.2" if CC_V_4_0_2 + default "4.0.3" if CC_V_4_0_3 + default "4.0.4" if CC_V_4_0_4 + default "4.1.0" if CC_V_4_1_0 + default "4.1.1" if CC_V_4_1_1 + default "4.1.2" if CC_V_4_1_2 + default "4.2.0" if CC_V_4_2_0 + default "4.2.1" if CC_V_4_2_1 + default "4.2.2" if CC_V_4_2_2 + default "4.2.3" if CC_V_4_2_3 +# CT_INSERT_VERSION_STRING_ABOVE +# Don't remove above line! + +config CC_CXA_ATEXIT + bool + prompt "__cxa_atexit" + default "y" + help + If you get the missing symbol "__cxa_atexit" when building C++ programs, + you might want to try disabling this option. + +config CC_CORE_EXTRA_CONFIG + string + prompt "Core gcc extra config" + default "" + help + Extra flags to pass onto ./configure when configuring the core gcc. + + The core gcc is a stripped down, C-only compiler needed to build + the C library. Kinda bootstrap gcc, if you wish. + +config CC_EXTRA_CONFIG + string + prompt "gcc extra config" + default "" + help + Extra flags to pass onto ./configure when configuring gcc. diff --git a/config/kernel.in b/config/kernel.in index 2810776..44eebe7 100644 --- a/config/kernel.in +++ b/config/kernel.in @@ -19,7 +19,7 @@ config KERNEL_VERSION string if KERNEL_LINUX -source config/kernel/kernel_linux.in +source config/kernel/linux.in endif endmenu diff --git a/config/kernel/kernel_linux.in b/config/kernel/kernel_linux.in deleted file mode 100644 index cb5348e..0000000 --- a/config/kernel/kernel_linux.in +++ /dev/null @@ -1,134 +0,0 @@ -# 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)" - depends on OBSOLETE - select KERNEL_LINUX_NEEDS_CONFIG - 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 any - update since 2.6.12 - -config KERNEL_LINUX_HEADERS_COPY - bool - prompt "pure kernel headers (REALLY OBSOLETE)" - depends on OBSOLETE - select KERNEL_LINUX_NEEDS_CONFIG - 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. - -config KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR - bool - prompt "Use custom directory" - help - If you have some kernel headers lying around, you can enter the path - below. - -endchoice - -config KERNEL - string - default "linux" if ! KERNEL_LINUX_HEADERS_SANITISED - 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_COPY || KERNEL_LINUX_HEADERS_INSTALL - 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/kernel_linux_headers_install.in -endif - -if KERNEL_LINUX_HEADERS_COPY -source config/kernel/kernel_linux_headers_copy.in -endif - -if KERNEL_LINUX_HEADERS_SANITISED -source config/kernel/kernel_linux_headers_sanitised.in -endif - -config KERNEL_LINUX_HEADERS_CUSTOM_DIR - string - prompt "Where are those custom headers?" - depends on KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR - help - Enter the base directory where the headers are to be found. - - Eg. if the headers are in /some/place/include, then enter /some/place. - This is the same path you entered when you typed: - make INSTALL_HDR_PATH=/some/place headers_install - -if ! KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR - -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_NEEDS_CONFIG - bool - default n - -config KERNEL_LINUX_CONFIG_FILE - string - prompt "Configuration file" - depends on KERNEL_LINUX_NEEDS_CONFIG - default "" - help - Path to a kernel configuration file. - - If you don't provide one, then the default configuration for - your target will be used. - -endif diff --git a/config/kernel/kernel_linux_headers_copy.in b/config/kernel/kernel_linux_headers_copy.in deleted file mode 100644 index 54eb700..0000000 --- a/config/kernel/kernel_linux_headers_copy.in +++ /dev/null @@ -1,42 +0,0 @@ -choice - bool - prompt "Linux kernel version" - -config KERNEL_COPY_V_2_4_26 - bool - prompt "2.4.26" - -config KERNEL_COPY_V_2_6_5 - bool - prompt "2.6.5" - -config KERNEL_COPY_V_2_6_6 - bool - prompt "2.6.6" - -config KERNEL_COPY_V_2_6_7 - bool - prompt "2.6.7" - -config KERNEL_COPY_V_2_6_8 - bool - prompt "2.6.8" - -config KERNEL_COPY_V_2_6_11_3 - bool - prompt "2.6.11.3" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -# CT_INSERT_VERSION_ABOVE -# Don't remove above line! -endchoice - -config KERNEL_VERSION - string - default "2.6.5" if KERNEL_COPY_V_2_6_5 - default "2.6.6" if KERNEL_COPY_V_2_6_6 - default "2.6.7" if KERNEL_COPY_V_2_6_7 - default "2.6.8" if KERNEL_COPY_V_2_6_8 - default "2.6.11.3" if KERNEL_COPY_V_2_6_11_3 -# CT_INSERT_VERSION_STRING_ABOVE -# Don't remove above line! diff --git a/config/kernel/kernel_linux_headers_install.in b/config/kernel/kernel_linux_headers_install.in deleted file mode 100644 index 60b471d..0000000 --- a/config/kernel/kernel_linux_headers_install.in +++ /dev/null @@ -1,168 +0,0 @@ -choice - bool - prompt "Linux kernel version" - -config KERNEL_INSTALL_V_2_6_18_8 - bool - prompt "2.6.18.8 (OBSOLETE)" - depends on KERNEL_VERSION_SEE_EXTRAVERSION && OBSOLETE - -config KERNEL_INSTALL_V_2_6_19_7 - bool - prompt "2.6.19.7 (OBSOLETE)" - depends on KERNEL_VERSION_SEE_EXTRAVERSION && OBSOLETE - -config KERNEL_INSTALL_V_2_6_20_21 - bool - prompt "2.6.20.21 (OBSOLETE)" - depends on KERNEL_VERSION_SEE_EXTRAVERSION && OBSOLETE - -config KERNEL_INSTALL_V_2_6_21_7 - bool - prompt "2.6.21.7 (OBSOLETE)" - depends on KERNEL_VERSION_SEE_EXTRAVERSION && OBSOLETE - -config KERNEL_INSTALL_V_2_6_22_18 - bool - prompt "2.6.22.18" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -config KERNEL_INSTALL_V_2_6_23 - bool - prompt "2.6.23" - -config KERNEL_INSTALL_V_2_6_23_1 - bool - prompt "2.6.23.1" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -config KERNEL_INSTALL_V_2_6_23_2 - bool - prompt "2.6.23.2" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -config KERNEL_INSTALL_V_2_6_23_3 - bool - prompt "2.6.23.3" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -config KERNEL_INSTALL_V_2_6_23_4 - bool - prompt "2.6.23.4" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -config KERNEL_INSTALL_V_2_6_23_5 - bool - prompt "2.6.23.5" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -config KERNEL_INSTALL_V_2_6_23_6 - bool - prompt "2.6.23.6" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -config KERNEL_INSTALL_V_2_6_23_7 - bool - prompt "2.6.23.7" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -config KERNEL_INSTALL_V_2_6_23_8 - bool - prompt "2.6.23.8" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -config KERNEL_INSTALL_V_2_6_23_9 - bool - prompt "2.6.23.9" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -config KERNEL_INSTALL_V_2_6_23_10 - bool - prompt "2.6.23.10" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -config KERNEL_INSTALL_V_2_6_23_11 - bool - prompt "2.6.23.11" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -config KERNEL_INSTALL_V_2_6_23_12 - bool - prompt "2.6.23.12" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -config KERNEL_INSTALL_V_2_6_23_13 - bool - prompt "2.6.23.13" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -config KERNEL_INSTALL_V_2_6_23_14 - bool - prompt "2.6.23.14" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -config KERNEL_INSTALL_V_2_6_23_15 - bool - prompt "2.6.23.15" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -config KERNEL_INSTALL_V_2_6_23_16 - bool - prompt "2.6.23.16" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -config KERNEL_INSTALL_V_2_6_24 - bool - prompt "2.6.24" - -config KERNEL_INSTALL_V_2_6_24_1 - bool - prompt "2.6.24.1" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -config KERNEL_INSTALL_V_2_6_24_2 - bool - prompt "2.6.24.2" - depends on KERNEL_VERSION_SEE_EXTRAVERSION - -# CT_INSERT_VERSION_ABOVE -# Don't remove above line! -endchoice - -config KERNEL_VERSION - string - default "2.6.18.8" if KERNEL_INSTALL_V_2_6_18_8 - default "2.6.19.7" if KERNEL_INSTALL_V_2_6_19_7 - default "2.6.20.21" if KERNEL_INSTALL_V_2_6_20_21 - default "2.6.21.7" if KERNEL_INSTALL_V_2_6_21_7 - default "2.6.22.18" if KERNEL_INSTALL_V_2_6_22_18 - default "2.6.23" if KERNEL_INSTALL_V_2_6_23 - default "2.6.23.1" if KERNEL_INSTALL_V_2_6_23_1 - default "2.6.23.2" if KERNEL_INSTALL_V_2_6_23_2 - default "2.6.23.3" if KERNEL_INSTALL_V_2_6_23_3 - default "2.6.23.4" if KERNEL_INSTALL_V_2_6_23_4 - default "2.6.23.5" if KERNEL_INSTALL_V_2_6_23_5 - default "2.6.23.6" if KERNEL_INSTALL_V_2_6_23_6 - default "2.6.23.7" if KERNEL_INSTALL_V_2_6_23_7 - default "2.6.23.8" if KERNEL_INSTALL_V_2_6_23_8 - default "2.6.23.9" if KERNEL_INSTALL_V_2_6_23_9 - default "2.6.23.10" if KERNEL_INSTALL_V_2_6_23_10 - default "2.6.23.11" if KERNEL_INSTALL_V_2_6_23_11 - default "2.6.23.12" if KERNEL_INSTALL_V_2_6_23_12 - default "2.6.23.13" if KERNEL_INSTALL_V_2_6_23_13 - default "2.6.23.14" if KERNEL_INSTALL_V_2_6_23_14 - default "2.6.23.15" if KERNEL_INSTALL_V_2_6_23_15 - default "2.6.23.16" if KERNEL_INSTALL_V_2_6_23_16 - default "2.6.24" if KERNEL_INSTALL_V_2_6_24 - default "2.6.24.1" if KERNEL_INSTALL_V_2_6_24_1 - default "2.6.24.2" if KERNEL_INSTALL_V_2_6_24_2 -# CT_INSERT_VERSION_STRING_ABOVE -# Don't remove above line! - -config KERNEL_LINUX_HEADERS_INSTALL_CHECK - bool - prompt "Check installed headers" - default n - help - If you are in doubt that installed headers are buggy, say 'Y' - here to have an extra check passed onto the headers. diff --git a/config/kernel/kernel_linux_headers_sanitised.in b/config/kernel/kernel_linux_headers_sanitised.in deleted file mode 100644 index 820df6e..0000000 --- a/config/kernel/kernel_linux_headers_sanitised.in +++ /dev/null @@ -1,62 +0,0 @@ -choice - bool - prompt "Linux headers version" - -config KERNEL_SANITISED_V_2_6_7_0 - bool - prompt "2.6.7.0" - -config KERNEL_SANITISED_V_2_6_8_0 - bool - prompt "2.6.8.0" - -config KERNEL_SANITISED_V_2_6_8_1 - bool - prompt "2.6.8.1" - -config KERNEL_SANITISED_V_2_6_9_0 - bool - prompt "2.6.9.0" - -config KERNEL_SANITISED_V_2_6_9_1 - bool - prompt "2.6.9.1" - -config KERNEL_SANITISED_V_2_6_10_0 - bool - prompt "2.6.10.0" - -config KERNEL_SANITISED_V_2_6_11_0 - bool - prompt "2.6.11.0" - -config KERNEL_SANITISED_V_2_6_11_1 - bool - prompt "2.6.11.1" - -config KERNEL_SANITISED_V_2_6_11_2 - bool - prompt "2.6.11.2" - -config KERNEL_SANITISED_V_2_6_12_0 - bool - prompt "2.6.12.0" - -# CT_INSERT_VERSION_ABOVE -# Don't remove above line! -endchoice - -config KERNEL_VERSION - string - default "2.6.7.0" if KERNEL_SANITISED_V_2_6_7_0 - default "2.6.8.0" if KERNEL_SANITISED_V_2_6_8_0 - default "2.6.8.1" if KERNEL_SANITISED_V_2_6_8_1 - default "2.6.9.0" if KERNEL_SANITISED_V_2_6_9_0 - default "2.6.9.1" if KERNEL_SANITISED_V_2_6_9_1 - default "2.6.10.0" if KERNEL_SANITISED_V_2_6_10_0 - default "2.6.11.0" if KERNEL_SANITISED_V_2_6_11_0 - default "2.6.11.1" if KERNEL_SANITISED_V_2_6_11_1 - default "2.6.11.2" if KERNEL_SANITISED_V_2_6_11_2 - default "2.6.12.0" if KERNEL_SANITISED_V_2_6_12_0 -# CT_INSERT_VERSION_STRING_ABOVE -# Don't remove above line! diff --git a/config/kernel/linux.in b/config/kernel/linux.in new file mode 100644 index 0000000..405bc37 --- /dev/null +++ b/config/kernel/linux.in @@ -0,0 +1,134 @@ +# 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)" + depends on OBSOLETE + select KERNEL_LINUX_NEEDS_CONFIG + 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 any + update since 2.6.12 + +config KERNEL_LINUX_HEADERS_COPY + bool + prompt "pure kernel headers (REALLY OBSOLETE)" + depends on OBSOLETE + select KERNEL_LINUX_NEEDS_CONFIG + 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. + +config KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR + bool + prompt "Use custom directory" + help + If you have some kernel headers lying around, you can enter the path + below. + +endchoice + +config KERNEL + string + default "linux" if ! KERNEL_LINUX_HEADERS_SANITISED + 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_COPY || KERNEL_LINUX_HEADERS_INSTALL + 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 + +config KERNEL_LINUX_HEADERS_CUSTOM_DIR + string + prompt "Where are those custom headers?" + depends on KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR + help + Enter the base directory where the headers are to be found. + + Eg. if the headers are in /some/place/include, then enter /some/place. + This is the same path you entered when you typed: + make INSTALL_HDR_PATH=/some/place headers_install + +if ! KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR + +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_NEEDS_CONFIG + bool + default n + +config KERNEL_LINUX_CONFIG_FILE + string + prompt "Configuration file" + depends on KERNEL_LINUX_NEEDS_CONFIG + default "" + help + Path to a kernel configuration file. + + If you don't provide one, then the default configuration for + your target will be used. + +endif diff --git a/config/kernel/linux_headers_copy.in b/config/kernel/linux_headers_copy.in new file mode 100644 index 0000000..54eb700 --- /dev/null +++ b/config/kernel/linux_headers_copy.in @@ -0,0 +1,42 @@ +choice + bool + prompt "Linux kernel version" + +config KERNEL_COPY_V_2_4_26 + bool + prompt "2.4.26" + +config KERNEL_COPY_V_2_6_5 + bool + prompt "2.6.5" + +config KERNEL_COPY_V_2_6_6 + bool + prompt "2.6.6" + +config KERNEL_COPY_V_2_6_7 + bool + prompt "2.6.7" + +config KERNEL_COPY_V_2_6_8 + bool + prompt "2.6.8" + +config KERNEL_COPY_V_2_6_11_3 + bool + prompt "2.6.11.3" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +# CT_INSERT_VERSION_ABOVE +# Don't remove above line! +endchoice + +config KERNEL_VERSION + string + default "2.6.5" if KERNEL_COPY_V_2_6_5 + default "2.6.6" if KERNEL_COPY_V_2_6_6 + default "2.6.7" if KERNEL_COPY_V_2_6_7 + default "2.6.8" if KERNEL_COPY_V_2_6_8 + default "2.6.11.3" if KERNEL_COPY_V_2_6_11_3 +# CT_INSERT_VERSION_STRING_ABOVE +# Don't remove above line! diff --git a/config/kernel/linux_headers_install.in b/config/kernel/linux_headers_install.in new file mode 100644 index 0000000..60b471d --- /dev/null +++ b/config/kernel/linux_headers_install.in @@ -0,0 +1,168 @@ +choice + bool + prompt "Linux kernel version" + +config KERNEL_INSTALL_V_2_6_18_8 + bool + prompt "2.6.18.8 (OBSOLETE)" + depends on KERNEL_VERSION_SEE_EXTRAVERSION && OBSOLETE + +config KERNEL_INSTALL_V_2_6_19_7 + bool + prompt "2.6.19.7 (OBSOLETE)" + depends on KERNEL_VERSION_SEE_EXTRAVERSION && OBSOLETE + +config KERNEL_INSTALL_V_2_6_20_21 + bool + prompt "2.6.20.21 (OBSOLETE)" + depends on KERNEL_VERSION_SEE_EXTRAVERSION && OBSOLETE + +config KERNEL_INSTALL_V_2_6_21_7 + bool + prompt "2.6.21.7 (OBSOLETE)" + depends on KERNEL_VERSION_SEE_EXTRAVERSION && OBSOLETE + +config KERNEL_INSTALL_V_2_6_22_18 + bool + prompt "2.6.22.18" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +config KERNEL_INSTALL_V_2_6_23 + bool + prompt "2.6.23" + +config KERNEL_INSTALL_V_2_6_23_1 + bool + prompt "2.6.23.1" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +config KERNEL_INSTALL_V_2_6_23_2 + bool + prompt "2.6.23.2" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +config KERNEL_INSTALL_V_2_6_23_3 + bool + prompt "2.6.23.3" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +config KERNEL_INSTALL_V_2_6_23_4 + bool + prompt "2.6.23.4" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +config KERNEL_INSTALL_V_2_6_23_5 + bool + prompt "2.6.23.5" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +config KERNEL_INSTALL_V_2_6_23_6 + bool + prompt "2.6.23.6" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +config KERNEL_INSTALL_V_2_6_23_7 + bool + prompt "2.6.23.7" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +config KERNEL_INSTALL_V_2_6_23_8 + bool + prompt "2.6.23.8" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +config KERNEL_INSTALL_V_2_6_23_9 + bool + prompt "2.6.23.9" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +config KERNEL_INSTALL_V_2_6_23_10 + bool + prompt "2.6.23.10" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +config KERNEL_INSTALL_V_2_6_23_11 + bool + prompt "2.6.23.11" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +config KERNEL_INSTALL_V_2_6_23_12 + bool + prompt "2.6.23.12" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +config KERNEL_INSTALL_V_2_6_23_13 + bool + prompt "2.6.23.13" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +config KERNEL_INSTALL_V_2_6_23_14 + bool + prompt "2.6.23.14" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +config KERNEL_INSTALL_V_2_6_23_15 + bool + prompt "2.6.23.15" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +config KERNEL_INSTALL_V_2_6_23_16 + bool + prompt "2.6.23.16" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +config KERNEL_INSTALL_V_2_6_24 + bool + prompt "2.6.24" + +config KERNEL_INSTALL_V_2_6_24_1 + bool + prompt "2.6.24.1" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +config KERNEL_INSTALL_V_2_6_24_2 + bool + prompt "2.6.24.2" + depends on KERNEL_VERSION_SEE_EXTRAVERSION + +# CT_INSERT_VERSION_ABOVE +# Don't remove above line! +endchoice + +config KERNEL_VERSION + string + default "2.6.18.8" if KERNEL_INSTALL_V_2_6_18_8 + default "2.6.19.7" if KERNEL_INSTALL_V_2_6_19_7 + default "2.6.20.21" if KERNEL_INSTALL_V_2_6_20_21 + default "2.6.21.7" if KERNEL_INSTALL_V_2_6_21_7 + default "2.6.22.18" if KERNEL_INSTALL_V_2_6_22_18 + default "2.6.23" if KERNEL_INSTALL_V_2_6_23 + default "2.6.23.1" if KERNEL_INSTALL_V_2_6_23_1 + default "2.6.23.2" if KERNEL_INSTALL_V_2_6_23_2 + default "2.6.23.3" if KERNEL_INSTALL_V_2_6_23_3 + default "2.6.23.4" if KERNEL_INSTALL_V_2_6_23_4 + default "2.6.23.5" if KERNEL_INSTALL_V_2_6_23_5 + default "2.6.23.6" if KERNEL_INSTALL_V_2_6_23_6 + default "2.6.23.7" if KERNEL_INSTALL_V_2_6_23_7 + default "2.6.23.8" if KERNEL_INSTALL_V_2_6_23_8 + default "2.6.23.9" if KERNEL_INSTALL_V_2_6_23_9 + default "2.6.23.10" if KERNEL_INSTALL_V_2_6_23_10 + default "2.6.23.11" if KERNEL_INSTALL_V_2_6_23_11 + default "2.6.23.12" if KERNEL_INSTALL_V_2_6_23_12 + default "2.6.23.13" if KERNEL_INSTALL_V_2_6_23_13 + default "2.6.23.14" if KERNEL_INSTALL_V_2_6_23_14 + default "2.6.23.15" if KERNEL_INSTALL_V_2_6_23_15 + default "2.6.23.16" if KERNEL_INSTALL_V_2_6_23_16 + default "2.6.24" if KERNEL_INSTALL_V_2_6_24 + default "2.6.24.1" if KERNEL_INSTALL_V_2_6_24_1 + default "2.6.24.2" if KERNEL_INSTALL_V_2_6_24_2 +# CT_INSERT_VERSION_STRING_ABOVE +# Don't remove above line! + +config KERNEL_LINUX_HEADERS_INSTALL_CHECK + bool + prompt "Check installed headers" + default n + help + If you are in doubt that installed headers are buggy, say 'Y' + here to have an extra check passed onto the headers. diff --git a/config/kernel/linux_headers_sanitised.in b/config/kernel/linux_headers_sanitised.in new file mode 100644 index 0000000..820df6e --- /dev/null +++ b/config/kernel/linux_headers_sanitised.in @@ -0,0 +1,62 @@ +choice + bool + prompt "Linux headers version" + +config KERNEL_SANITISED_V_2_6_7_0 + bool + prompt "2.6.7.0" + +config KERNEL_SANITISED_V_2_6_8_0 + bool + prompt "2.6.8.0" + +config KERNEL_SANITISED_V_2_6_8_1 + bool + prompt "2.6.8.1" + +config KERNEL_SANITISED_V_2_6_9_0 + bool + prompt "2.6.9.0" + +config KERNEL_SANITISED_V_2_6_9_1 + bool + prompt "2.6.9.1" + +config KERNEL_SANITISED_V_2_6_10_0 + bool + prompt "2.6.10.0" + +config KERNEL_SANITISED_V_2_6_11_0 + bool + prompt "2.6.11.0" + +config KERNEL_SANITISED_V_2_6_11_1 + bool + prompt "2.6.11.1" + +config KERNEL_SANITISED_V_2_6_11_2 + bool + prompt "2.6.11.2" + +config KERNEL_SANITISED_V_2_6_12_0 + bool + prompt "2.6.12.0" + +# CT_INSERT_VERSION_ABOVE +# Don't remove above line! +endchoice + +config KERNEL_VERSION + string + default "2.6.7.0" if KERNEL_SANITISED_V_2_6_7_0 + default "2.6.8.0" if KERNEL_SANITISED_V_2_6_8_0 + default "2.6.8.1" if KERNEL_SANITISED_V_2_6_8_1 + default "2.6.9.0" if KERNEL_SANITISED_V_2_6_9_0 + default "2.6.9.1" if KERNEL_SANITISED_V_2_6_9_1 + default "2.6.10.0" if KERNEL_SANITISED_V_2_6_10_0 + default "2.6.11.0" if KERNEL_SANITISED_V_2_6_11_0 + default "2.6.11.1" if KERNEL_SANITISED_V_2_6_11_1 + default "2.6.11.2" if KERNEL_SANITISED_V_2_6_11_2 + default "2.6.12.0" if KERNEL_SANITISED_V_2_6_12_0 +# CT_INSERT_VERSION_STRING_ABOVE +# Don't remove above line! diff --git a/config/libc.in b/config/libc.in index 848a89c..e5d62ee 100644 --- a/config/libc.in +++ b/config/libc.in @@ -37,11 +37,11 @@ config LIBC_SUPPORT_LINUXTHREADS default n if LIBC_GLIBC -source config/libc/libc_glibc.in +source config/libc/glibc.in endif if LIBC_UCLIBC -source config/libc/libc_uClibc.in +source config/libc/uClibc.in endif endmenu diff --git a/config/libc/glibc.in b/config/libc/glibc.in new file mode 100644 index 0000000..e4359b7 --- /dev/null +++ b/config/libc/glibc.in @@ -0,0 +1,124 @@ +# glibc options + +choice + bool + prompt "glibc version" + +config LIBC_V_2_3_6 + bool + prompt "2.3.6 (OBSOLETE)" + depends on OBSOLETE + +config LIBC_V_2_5 + bool + prompt "2.5" + +config LIBC_V_2_5_1 + bool + prompt "2.5.1" + +config LIBC_V_2_6 + bool + prompt "2.6" + +config LIBC_V_2_6_1 + bool + prompt "2.6.1" + +config LIBC_V_2_7 + bool + prompt "2.7" + depends on EXPERIMENTAL + +# CT_INSERT_VERSION_ABOVE +# Don't remove above line! +endchoice + +config LIBC_VERSION + string + default "2.3.6" if LIBC_V_2_3_6 + default "2.4" if LIBC_V_2_4 + default "2.5" if LIBC_V_2_5 + default "2.5.1" if LIBC_V_2_5_1 + default "2.6" if LIBC_V_2_6 + default "2.6.1" if LIBC_V_2_6_1 + default "2.7" if LIBC_V_2_7 +# CT_INSERT_VERSION_STRING_ABOVE +# Don't remove above line! + +config LIBC_GLIBC_EXTRA_CONFIG + string + prompt "glibc extra config" + default "" + help + Extra flags to pass onto ./configure when configuring glibc. + + Eg.: --enable-static-nss + +config LIBC_GLIBC_EXTRA_CFLAGS + string + prompt "glibc extra target CFLAGS" + default "" + help + Extra target CFLAGS to use when building glibc. + +config LIBC_EXTRA_CC_ARGS + string + prompt "gcc extra flags" + default "" + help + Extra flags to pass gcc when building glibc. + + Seldom used, except for sparc64 which seems to need the flag -64 + to be passed onto gcc. + +# Please note: This is not used for now (no sh support). +config LIBC_GLIBC_CONFIGPARMS + string + prompt "Extra config params (READ HELP)" + default "" if ARCH != "sh3" && ARCH != "sh4" + default "no-z-defs=yes" if ARCH = "sh3" || ARCH = "sh4" + help + Some architectures need to set options in the file configparms. + This is the case for sh3/4, which really need to set configparms as of + gcc-3.4/glibc-2.3.2. + + Unless you are building a toolchain for sh3/4, you should leave that empty. + + Note: this is awkward, doesn't work well if you need more than one + line in configparms + +config LIBC_GLIBC_USE_PORTS + bool + prompt "Use the ports addon" + default n + help + The ports addon contains some architecture ports that are not available + in the official glibc distribution. + + For example, this is the case for ARM with glibc >= 2.4 + + Say n only if you're sure that your architecture is in the official + glibc distribution for your chosen version. + +config LIBC_ADDONS + bool + prompt "Pass extra addons list" + default n + help + If you say Y here, you'll be able to give the list of addons you want to + include in your C library. + +config LIBC_ADDONS_LIST + string + prompt "Extra addons" + default "" + depends on LIBC_ADDONS + help + Extra addons to include in glibc. Space separated list. + + You need to specify neither linuxthreads nor nptl, as they are added + automagically for you depending on the threading model you choosed + earlier. + + Eg.: crypt (for very old glibces) diff --git a/config/libc/libc_glibc.in b/config/libc/libc_glibc.in deleted file mode 100644 index e4359b7..0000000 --- a/config/libc/libc_glibc.in +++ /dev/null @@ -1,124 +0,0 @@ -# glibc options - -choice - bool - prompt "glibc version" - -config LIBC_V_2_3_6 - bool - prompt "2.3.6 (OBSOLETE)" - depends on OBSOLETE - -config LIBC_V_2_5 - bool - prompt "2.5" - -config LIBC_V_2_5_1 - bool - prompt "2.5.1" - -config LIBC_V_2_6 - bool - prompt "2.6" - -config LIBC_V_2_6_1 - bool - prompt "2.6.1" - -config LIBC_V_2_7 - bool - prompt "2.7" - depends on EXPERIMENTAL - -# CT_INSERT_VERSION_ABOVE -# Don't remove above line! -endchoice - -config LIBC_VERSION - string - default "2.3.6" if LIBC_V_2_3_6 - default "2.4" if LIBC_V_2_4 - default "2.5" if LIBC_V_2_5 - default "2.5.1" if LIBC_V_2_5_1 - default "2.6" if LIBC_V_2_6 - default "2.6.1" if LIBC_V_2_6_1 - default "2.7" if LIBC_V_2_7 -# CT_INSERT_VERSION_STRING_ABOVE -# Don't remove above line! - -config LIBC_GLIBC_EXTRA_CONFIG - string - prompt "glibc extra config" - default "" - help - Extra flags to pass onto ./configure when configuring glibc. - - Eg.: --enable-static-nss - -config LIBC_GLIBC_EXTRA_CFLAGS - string - prompt "glibc extra target CFLAGS" - default "" - help - Extra target CFLAGS to use when building glibc. - -config LIBC_EXTRA_CC_ARGS - string - prompt "gcc extra flags" - default "" - help - Extra flags to pass gcc when building glibc. - - Seldom used, except for sparc64 which seems to need the flag -64 - to be passed onto gcc. - -# Please note: This is not used for now (no sh support). -config LIBC_GLIBC_CONFIGPARMS - string - prompt "Extra config params (READ HELP)" - default "" if ARCH != "sh3" && ARCH != "sh4" - default "no-z-defs=yes" if ARCH = "sh3" || ARCH = "sh4" - help - Some architectures need to set options in the file configparms. - This is the case for sh3/4, which really need to set configparms as of - gcc-3.4/glibc-2.3.2. - - Unless you are building a toolchain for sh3/4, you should leave that empty. - - Note: this is awkward, doesn't work well if you need more than one - line in configparms - -config LIBC_GLIBC_USE_PORTS - bool - prompt "Use the ports addon" - default n - help - The ports addon contains some architecture ports that are not available - in the official glibc distribution. - - For example, this is the case for ARM with glibc >= 2.4 - - Say n only if you're sure that your architecture is in the official - glibc distribution for your chosen version. - -config LIBC_ADDONS - bool - prompt "Pass extra addons list" - default n - help - If you say Y here, you'll be able to give the list of addons you want to - include in your C library. - -config LIBC_ADDONS_LIST - string - prompt "Extra addons" - default "" - depends on LIBC_ADDONS - help - Extra addons to include in glibc. Space separated list. - - You need to specify neither linuxthreads nor nptl, as they are added - automagically for you depending on the threading model you choosed - earlier. - - Eg.: crypt (for very old glibces) diff --git a/config/libc/libc_uClibc.in b/config/libc/libc_uClibc.in deleted file mode 100644 index 4f9943d..0000000 --- a/config/libc/libc_uClibc.in +++ /dev/null @@ -1,101 +0,0 @@ -# uClibc options - -choice - bool - prompt "uClibc version" - -config LIBC_V_snapshot - bool - prompt "latest snapshot" - -config LIBC_V_specific_date - bool - prompt "" - -config LIBC_V_0_9_28 - bool - prompt "0.9.28 (OBSOLETE)" - depends on OBSOLETE - -config LIBC_V_0_9_28_1 - bool - prompt "0.9.28.1 (OBSOLETE)" - depends on OBSOLETE - -config LIBC_V_0_9_28_2 - bool - prompt "0.9.28.2 (OBSOLETE)" - depends on OBSOLETE - -config LIBC_V_0_9_28_3 - bool - prompt "0.9.28.3" - -config LIBC_V_0_9_29 - bool - prompt "0.9.29" - -# CT_INSERT_VERSION_ABOVE -# Don't remove above line! -endchoice - -config LIBC_VERSION - string - prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date - default "snapshot" if LIBC_V_snapshot - default "0.9.28" if LIBC_V_0_9_28 - default "0.9.28.1" if LIBC_V_0_9_28_1 - default "0.9.28.2" if LIBC_V_0_9_28_2 - default "0.9.28.3" if LIBC_V_0_9_28_3 - default "0.9.29" if LIBC_V_0_9_29 -# CT_INSERT_VERSION_STRING_ABOVE -# Don't remove above line! - help - Enter the date of the snapshot you want to use in the form: YYYYMMDD - where YYYY is the 4-digit year, MM the 2-digit month and DD the 2-digit - day in the month. - - Please note that uClibc site removes snapshots older than a month. - -choice - bool - prompt "Debug level" - default LIBC_UCLIBC_DEBUG_LEVEL_0 - -config LIBC_UCLIBC_DEBUG_LEVEL_0 - bool - prompt "none" - -config LIBC_UCLIBC_DEBUG_LEVEL_1 - bool - prompt "minimal" - -config LIBC_UCLIBC_DEBUG_LEVEL_2 - bool - prompt "all" - -endchoice - -config LIBC_UCLIBC_DEBUG_LEVEL - int - default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0 - default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1 - default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2 - -config LIBC_UCLIBC_CONFIG_FILE - string - prompt "Configuration file" - default "" - help - Path to the configuration file. - - You _must_ provide one (for now). - -config LIBC_UCLIBC_LOCALES - bool - prompt "Add support for locales" - default n - help - Say y if you want uClibc to support localisation. - - Note that seems to be broken on recent uClibc releases. diff --git a/config/libc/uClibc.in b/config/libc/uClibc.in new file mode 100644 index 0000000..4f9943d --- /dev/null +++ b/config/libc/uClibc.in @@ -0,0 +1,101 @@ +# uClibc options + +choice + bool + prompt "uClibc version" + +config LIBC_V_snapshot + bool + prompt "latest snapshot" + +config LIBC_V_specific_date + bool + prompt "" + +config LIBC_V_0_9_28 + bool + prompt "0.9.28 (OBSOLETE)" + depends on OBSOLETE + +config LIBC_V_0_9_28_1 + bool + prompt "0.9.28.1 (OBSOLETE)" + depends on OBSOLETE + +config LIBC_V_0_9_28_2 + bool + prompt "0.9.28.2 (OBSOLETE)" + depends on OBSOLETE + +config LIBC_V_0_9_28_3 + bool + prompt "0.9.28.3" + +config LIBC_V_0_9_29 + bool + prompt "0.9.29" + +# CT_INSERT_VERSION_ABOVE +# Don't remove above line! +endchoice + +config LIBC_VERSION + string + prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date + default "snapshot" if LIBC_V_snapshot + default "0.9.28" if LIBC_V_0_9_28 + default "0.9.28.1" if LIBC_V_0_9_28_1 + default "0.9.28.2" if LIBC_V_0_9_28_2 + default "0.9.28.3" if LIBC_V_0_9_28_3 + default "0.9.29" if LIBC_V_0_9_29 +# CT_INSERT_VERSION_STRING_ABOVE +# Don't remove above line! + help + Enter the date of the snapshot you want to use in the form: YYYYMMDD + where YYYY is the 4-digit year, MM the 2-digit month and DD the 2-digit + day in the month. + + Please note that uClibc site removes snapshots older than a month. + +choice + bool + prompt "Debug level" + default LIBC_UCLIBC_DEBUG_LEVEL_0 + +config LIBC_UCLIBC_DEBUG_LEVEL_0 + bool + prompt "none" + +config LIBC_UCLIBC_DEBUG_LEVEL_1 + bool + prompt "minimal" + +config LIBC_UCLIBC_DEBUG_LEVEL_2 + bool + prompt "all" + +endchoice + +config LIBC_UCLIBC_DEBUG_LEVEL + int + default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0 + default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1 + default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2 + +config LIBC_UCLIBC_CONFIG_FILE + string + prompt "Configuration file" + default "" + help + Path to the configuration file. + + You _must_ provide one (for now). + +config LIBC_UCLIBC_LOCALES + bool + prompt "Add support for locales" + default n + help + Say y if you want uClibc to support localisation. + + Note that seems to be broken on recent uClibc releases. diff --git a/tools/addToolVersion.sh b/tools/addToolVersion.sh index acb00dd..256894f 100755 --- a/tools/addToolVersion.sh +++ b/tools/addToolVersion.sh @@ -44,17 +44,17 @@ i=1 while [ $i -le $# ]; do case "${!i}" in # Tools: - --gcc) cat=CC; tool=gcc; tool_prefix=cc_; tool_suffix=;; - --binutils) cat=BINUTILS; tool=binutils; tool_prefix=; tool_suffix=;; - --glibc) cat=LIBC; tool=glibc; tool_prefix=libc_; tool_suffix=;; - --uClibc) cat=LIBC; tool=uClibc; tool_prefix=libc_; tool_suffix=;; - --linux) cat=KERNEL; tool=linux; tool_prefix=kernel_; tool_suffix=;; - --gdb) cat=GDB; tool=gdb; tool_prefix=debug/ tool_suffix=;; - --dmalloc) cat=DMALLOC; tool=dmalloc; tool_prefix=debug/ tool_suffix=;; - --duma) cat=DUMA; tool=duma; tool_prefix=debug/ tool_suffix=;; - --strace) cat=STRACE; tool=strace; tool_prefix=debug/ tool_suffix=;; - --ltrace) cat=LTRACE; tool=ltrace; tool_prefix=debug/ tool_suffix=;; - --libelf) cat=LIBELF; tool=libelf; tool_prefix=tools/ tool_suffix=;; + --gcc) cat=CC; tool=gcc; tool_prefix=cc; tool_suffix=;; + --binutils) cat=BINUTILS; tool=binutils; tool_prefix=; tool_suffix=;; + --glibc) cat=LIBC; tool=glibc; tool_prefix=libc; tool_suffix=;; + --uClibc) cat=LIBC; tool=uClibc; tool_prefix=libc; tool_suffix=;; + --linux) cat=KERNEL; tool=linux; tool_prefix=kernel; tool_suffix=;; + --gdb) cat=GDB; tool=gdb; tool_prefix=debug tool_suffix=;; + --dmalloc) cat=DMALLOC; tool=dmalloc; tool_prefix=debug tool_suffix=;; + --duma) cat=DUMA; tool=duma; tool_prefix=debug tool_suffix=;; + --strace) cat=STRACE; tool=strace; tool_prefix=debug tool_suffix=;; + --ltrace) cat=LTRACE; tool=ltrace; tool_prefix=debug tool_suffix=;; + --libelf) cat=LIBELF; tool=libelf; tool_prefix=tools tool_suffix=;; # Tools options: -x|--experimental) EXP=1; OBS=; prompt_suffix=" (EXPERIMENTAL)";; -o|--obsolete) OBS=1; EXP=; prompt_suffix=" (OBSOLETE)";; @@ -90,13 +90,13 @@ for ver in ${VERSION}; do *,*.*.*.*) DEP="${DEP} && KERNEL_VERSION_SEE_EXTRAVERSION";; esac L5=" default \"${ver}\" if ${cat}_${TOOL_SUFFIX}_V_${v}" - FILE="config/${tool_prefix}${tool}_headers_${tool_suffix}.in" + FILE="config/${tool_prefix}/${tool}_headers_${tool_suffix}.in" else L1="config ${cat}_V_${v}\n" L2=" bool\n" L3=" prompt \"${ver}${prompt_suffix}\"\n" L5=" default \"${ver}\" if ${cat}_V_${v}" - FILE="config/${tool_prefix}${tool}.in" + FILE="config/${tool_prefix}/${tool}.in" fi [ -n "${EXP}" ] && DEP="${DEP} && EXPERIMENTAL" [ -n "${OBS}" ] && DEP="${DEP} && OBSOLETE" -- cgit v0.10.2-6-g49f6