summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/binutils.in1
-rw-r--r--config/cc.in8
-rw-r--r--config/cc/gcc.in3
-rw-r--r--config/debug/dmalloc.in1
-rw-r--r--config/debug/duma.in1
-rw-r--r--config/debug/gdb.in4
-rw-r--r--config/debug/strace.in1
-rw-r--r--config/gmp_mpfr.in1
-rw-r--r--config/kernel.in9
-rw-r--r--config/kernel/linux_headers_install.in64
-rw-r--r--config/libc.in17
-rw-r--r--config/target.in13
-rw-r--r--config/toolchain.in1
13 files changed, 79 insertions, 45 deletions
diff --git a/config/binutils.in b/config/binutils.in
index a83b50c..a3eb211 100644
--- a/config/binutils.in
+++ b/config/binutils.in
@@ -79,6 +79,7 @@ config BINUTILS_EXTRA_CONFIG
config BINUTILS_FOR_TARGET
bool
prompt "binutils libraries for the target"
+ depends on ! BARE_METAL
default n
help
Some utilities may need binutils libraries to be available on
diff --git a/config/cc.in b/config/cc.in
index 1ad692e..a88832e 100644
--- a/config/cc.in
+++ b/config/cc.in
@@ -53,6 +53,8 @@ config CC_SUPPORT_OBJC
config CC_SUPPORT_OBJCXX
bool
+if ! BARE_METAL
+
comment "Additional supported languages:"
config CC_LANG_CXX
@@ -136,4 +138,10 @@ config CC_LANG_OTHERS
Eg. gcc-4.1+ has a toy programming language, treelang. As it is not usefull
in real life, it is not available in the selection above.
+endif # ! BARE_METAL
+
+if BARE_METAL
+comment "Only C language supported on bare metal"
+endif # BARE_METAL
+
endmenu
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index 02d1879..64d27cb 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -130,6 +130,7 @@ config CC_CXA_ATEXIT
bool
prompt "Use __cxa_atexit"
default y
+ depends on ! BARE_METAL
help
If you get the missing symbol "__cxa_atexit" when building C++ programs,
you might want to try disabling this option.
@@ -138,6 +139,7 @@ choice
bool
prompt "Use sjlj for exceptions"
default CC_SJLJ_EXCEPTIONS_CONFIGURE
+ depends on ! BARE_METAL
# This config option is used nowhere in the code on purpose.
# It only serves as a choice entry to force neither using nor not using sjlj
@@ -185,6 +187,7 @@ config CC_EXTRA_CONFIG
string
prompt "gcc extra config"
default ""
+ depends on ! BARE_METAL
help
Extra flags to pass onto ./configure when configuring gcc.
diff --git a/config/debug/dmalloc.in b/config/debug/dmalloc.in
index 8a53c71..692c229 100644
--- a/config/debug/dmalloc.in
+++ b/config/debug/dmalloc.in
@@ -4,6 +4,7 @@ menuconfig DMALLOC
bool
prompt "dmalloc"
default n
+ depends on ! BARE_METAL
if DMALLOC
diff --git a/config/debug/duma.in b/config/debug/duma.in
index 16f3d2a..5de4e7c 100644
--- a/config/debug/duma.in
+++ b/config/debug/duma.in
@@ -4,6 +4,7 @@ menuconfig DUMA
bool
prompt "D.U.M.A."
default n
+ depends on ! BARE_METAL
help
D.U.M.A. - Detect Unintended Memory Access
A memory bound checker, with additional features.
diff --git a/config/debug/gdb.in b/config/debug/gdb.in
index 43239ac..b65a71b 100644
--- a/config/debug/gdb.in
+++ b/config/debug/gdb.in
@@ -13,7 +13,7 @@ config GDB_CROSS
bool
prompt "Cross-gdb"
default y
- select GDB_GDBSERVER
+ select GDB_GDBSERVER if ! BARE_METAL
help
Build and install a cross-gdb for the target, to run on host.
@@ -45,6 +45,7 @@ config GDB_NATIVE
bool
prompt "Native gdb"
default n
+ depends on ! BARE_METAL
help
Build and install a native gdb for the target, to run on the target.
@@ -78,6 +79,7 @@ config GDB_GDBSERVER
bool
prompt "gdbserver"
default n
+ depends on ! BARE_METAL
help
Build and install a gdbserver for the target, to run on the target.
diff --git a/config/debug/strace.in b/config/debug/strace.in
index 234556a..055bb22 100644
--- a/config/debug/strace.in
+++ b/config/debug/strace.in
@@ -4,6 +4,7 @@ menuconfig STRACE
bool
prompt "strace"
default n
+ depends on ! BARE_METAL
if STRACE
diff --git a/config/gmp_mpfr.in b/config/gmp_mpfr.in
index c384ecc..02afb76 100644
--- a/config/gmp_mpfr.in
+++ b/config/gmp_mpfr.in
@@ -20,6 +20,7 @@ config GMP_MPFR_TARGET
bool
prompt "Build libraries for the target"
depends on GMP_MPFR
+ depends on ! BARE_METAL
default n
help
Also build libraries for the target. This can be usefull if you want
diff --git a/config/kernel.in b/config/kernel.in
index 607917d..f46a937 100644
--- a/config/kernel.in
+++ b/config/kernel.in
@@ -1,11 +1,16 @@
# Kernel options
-menu "Kernel"
+
config KERNEL
string
+ default "none" if BARE_METAL
default "linux" if KERNEL_LINUX
+if ! BARE_METAL
+
+menu "Kernel"
+
choice
bool
prompt "Target OS"
@@ -27,3 +32,5 @@ source config/kernel/linux.in
endif
endmenu
+
+endif # ! BARE_METAL
diff --git a/config/kernel/linux_headers_install.in b/config/kernel/linux_headers_install.in
index db7af99..fc3df3f 100644
--- a/config/kernel/linux_headers_install.in
+++ b/config/kernel/linux_headers_install.in
@@ -32,44 +32,10 @@ config KERNEL_INSTALL_V_2_6_23_17
prompt "2.6.23.17 (OBSOLETE)"
depends on KERNEL_VERSION_SEE_EXTRAVERSION && OBSOLETE
-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
-
-config KERNEL_INSTALL_V_2_6_24_3
- bool
- prompt "2.6.24.3"
- depends on KERNEL_VERSION_SEE_EXTRAVERSION
-
-config KERNEL_INSTALL_V_2_6_24_4
- bool
- prompt "2.6.24.4"
- depends on KERNEL_VERSION_SEE_EXTRAVERSION
-
-config KERNEL_INSTALL_V_2_6_24_5
- bool
- prompt "2.6.24.5"
- depends on KERNEL_VERSION_SEE_EXTRAVERSION
-
-config KERNEL_INSTALL_V_2_6_24_6
- bool
- prompt "2.6.24.6"
- depends on KERNEL_VERSION_SEE_EXTRAVERSION
-
config KERNEL_INSTALL_V_2_6_24_7
bool
- prompt "2.6.24.7"
- depends on KERNEL_VERSION_SEE_EXTRAVERSION
+ prompt "2.6.24.7 (OBSOLETE)"
+ depends on KERNEL_VERSION_SEE_EXTRAVERSION && OBSOLETE
config KERNEL_INSTALL_V_2_6_25
bool
@@ -150,6 +116,16 @@ config KERNEL_INSTALL_V_2_6_25_15
prompt "2.6.25.15"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
+config KERNEL_INSTALL_V_2_6_25_16
+ bool
+ prompt "2.6.25.16"
+ depends on KERNEL_VERSION_SEE_EXTRAVERSION
+
+config KERNEL_INSTALL_V_2_6_25_17
+ bool
+ prompt "2.6.25.17"
+ depends on KERNEL_VERSION_SEE_EXTRAVERSION
+
config KERNEL_INSTALL_V_2_6_26
bool
prompt "2.6.26"
@@ -169,6 +145,16 @@ config KERNEL_INSTALL_V_2_6_26_3
prompt "2.6.26.3"
depends on KERNEL_VERSION_SEE_EXTRAVERSION
+config KERNEL_INSTALL_V_2_6_26_4
+ bool
+ prompt "2.6.26.4"
+ depends on KERNEL_VERSION_SEE_EXTRAVERSION
+
+config KERNEL_INSTALL_V_2_6_26_5
+ bool
+ prompt "2.6.26.5"
+ depends on KERNEL_VERSION_SEE_EXTRAVERSION
+
# CT_INSERT_VERSION_ABOVE
# Don't remove above line!
endchoice
@@ -204,11 +190,15 @@ config KERNEL_VERSION
default "2.6.25.12" if KERNEL_INSTALL_V_2_6_25_12
default "2.6.25.13" if KERNEL_INSTALL_V_2_6_25_13
default "2.6.25.14" if KERNEL_INSTALL_V_2_6_25_14
- default "2.6.25.15" if KERNEL_INSTALL_V_2_6_25_15
+ default "2.6.25.14" if KERNEL_INSTALL_V_2_6_25_15
+ default "2.6.25.15" if KERNEL_INSTALL_V_2_6_25_16
+ default "2.6.25.15" if KERNEL_INSTALL_V_2_6_25_17
default "2.6.26" if KERNEL_INSTALL_V_2_6_26
default "2.6.26.1" if KERNEL_INSTALL_V_2_6_26_1
default "2.6.26.2" if KERNEL_INSTALL_V_2_6_26_2
default "2.6.26.3" if KERNEL_INSTALL_V_2_6_26_3
+ default "2.6.26.4" if KERNEL_INSTALL_V_2_6_26_4
+ default "2.6.26.5" if KERNEL_INSTALL_V_2_6_26_5
# CT_INSERT_VERSION_STRING_ABOVE
# Don't remove above line!
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
diff --git a/config/target.in b/config/target.in
index b5c7af1..bd7b725 100644
--- a/config/target.in
+++ b/config/target.in
@@ -28,6 +28,19 @@ config TARGET_LDFLAGS
comment "General target options"
+config BARE_METAL
+ bool
+ prompt "Bare metal (EXPERIMENTAL)"
+ default n
+ depends on EXPERIMENTAL
+ help
+ Say 'y' here if you want a simple C compiler with no C library.
+
+ You probably want to say 'y' here if you plan to use your compiler
+ to build only kernels or bootloaders
+
+ 'Bare metal' also refer to those programs that run without any kernel.
+
choice
bool
prompt "Target architecture:"
diff --git a/config/toolchain.in b/config/toolchain.in
index db4f152..4078a29 100644
--- a/config/toolchain.in
+++ b/config/toolchain.in
@@ -15,6 +15,7 @@ config USE_SYSROOT
config SHARED_LIBS
bool
prompt "Build shared libraries"
+ depends on ! BARE_METAL
default y
help
Say 'y' here, unless you don't want shared libraries.