summaryrefslogtreecommitdiff
path: root/config/libc.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/libc.in')
-rw-r--r--config/libc.in17
1 files changed, 11 insertions, 6 deletions
diff --git a/config/libc.in b/config/libc.in
index a8cf28c..d564752 100644
--- a/config/libc.in
+++ b/config/libc.in
@@ -1,5 +1,14 @@
# C library options
+config LIBC
+ string
+ default "none" if BARE_METAL
+ default "glibc" if LIBC_GLIBC
+ default "eglibc" if LIBC_EGLIBC
+ default "uClibc" if LIBC_UCLIBC
+
+if ! BARE_METAL
+
menu "C-library"
choice
@@ -49,12 +58,6 @@ endchoice
config LIBC_VERSION
string
-config LIBC
- string
- default "glibc" if LIBC_GLIBC
- default "eglibc" if LIBC_EGLIBC
- default "uClibc" if LIBC_UCLIBC
-
config LIBC_SUPPORT_NPTL
bool
default n
@@ -106,3 +109,5 @@ config LIBC_VERSION
have to save your C library tarball by yourself.
endmenu
+
+endif # ! BARE_METAL