summaryrefslogtreecommitdiff
path: root/kconfig
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-03-26 21:54:15 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2013-03-26 21:54:15 +0100
commit0dfb0aceadc37a5964c3163fe47bf085a6d85f6c (patch)
tree6ce7ccf6ea660bc2aea13f69a3dfbad32673a858 /kconfig
parent11d311367c5129ffb6b35409fdf3dea5cb3da020 (diff)
downloadembtoolkit-0dfb0aceadc37a5964c3163fe47bf085a6d85f6c.tar.gz
embtoolkit-0dfb0aceadc37a5964c3163fe47bf085a6d85f6c.tar.bz2
embtoolkit-0dfb0aceadc37a5964c3163fe47bf085a6d85f6c.tar.xz
Build system: move choose of c library after cross compiler environment
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'kconfig')
-rw-r--r--kconfig/toolchain.kconfig68
1 files changed, 34 insertions, 34 deletions
diff --git a/kconfig/toolchain.kconfig b/kconfig/toolchain.kconfig
index 6fc5eff..d70882f 100644
--- a/kconfig/toolchain.kconfig
+++ b/kconfig/toolchain.kconfig
@@ -23,40 +23,6 @@
# \date July 2009
################################################################################
-menu "C library to use"
-choice
- prompt "Choose which C library to use"
- help
- Choose here which C library your toolchain will use.
- config EMBTK_CLIB_EGLIBC
- bool "eglibc"
- help
- EGLIBC is suitable for source and binary compatibility with
- glibc, but care is also taken to satisfy embedded systems
- constraints.
- see http://www.eglibc.org for more information about eglibc.
- config EMBTK_CLIB_UCLIBC
- bool "uClibc"
- help
- uClibc is suitable for high memory constraints and MMU-less
- embedded systems. But compatibility with glibc is not guaranted
- and even between different uClibc versions.
- see http://www.uclibc.org for more information about uclibc.
-
-
-endchoice
-
-
-if EMBTK_CLIB_EGLIBC
-source "kconfig/eglibc.kconfig"
-endif
-
-if EMBTK_CLIB_UCLIBC
-source "kconfig/uclibc-kconfigs/embtk-uclibc.kconfig"
-endif
-
-endmenu
-
menu "Cross Compiler environment"
choice
prompt "Cross Compiler environment setup"
@@ -131,6 +97,40 @@ source kconfig/compiler-options.kconfig
endmenu
+menu "C library to use"
+choice
+ prompt "Choose which C library to use"
+ help
+ Choose here which C library your toolchain will use.
+ config EMBTK_CLIB_EGLIBC
+ bool "eglibc"
+ help
+ EGLIBC is suitable for source and binary compatibility with
+ glibc, but care is also taken to satisfy embedded systems
+ constraints.
+ see http://www.eglibc.org for more information about eglibc.
+ config EMBTK_CLIB_UCLIBC
+ bool "uClibc"
+ help
+ uClibc is suitable for high memory constraints and MMU-less
+ embedded systems. But compatibility with glibc is not guaranted
+ and even between different uClibc versions.
+ see http://www.uclibc.org for more information about uclibc.
+
+
+endchoice
+
+
+if EMBTK_CLIB_EGLIBC
+source "kconfig/eglibc.kconfig"
+endif
+
+if EMBTK_CLIB_UCLIBC
+source "kconfig/uclibc-kconfigs/embtk-uclibc.kconfig"
+endif
+
+endmenu
+
menu "Binutils"
source "kconfig/binutils.kconfig"
endmenu