summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2022-02-09 01:25:12 (GMT)
committerAlexey Neyman <stilor@att.net>2022-02-11 08:47:51 (GMT)
commit5a0be8b4ec0f1b7ff4fe30c8caaa5285b4f11ae4 (patch)
tree445d5ef14391e40f904d868e790c586e4ef397ed /config
parent93be629f2b255e348d0139558c5cd346a13787d2 (diff)
Unify core passes
With libc_headers step before pass-1, there is no need to distinguish pass-1 and pass-2; they are configured identically (note that with the current configuration, core pass-2 is only used for win32 - hence, uses build_libgcc=yes and mode=static). Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config')
-rw-r--r--config/cc.in5
-rw-r--r--config/cc/gcc.in2
-rw-r--r--config/libc/glibc.in2
-rw-r--r--config/libc/mingw-w64.in2
-rw-r--r--config/libc/moxiebox.in2
-rw-r--r--config/libc/musl.in2
-rw-r--r--config/libc/newlib.in2
-rw-r--r--config/libc/uClibc-ng.in2
8 files changed, 8 insertions, 11 deletions
diff --git a/config/cc.in b/config/cc.in
index 0890cc2..3a16805 100644
--- a/config/cc.in
+++ b/config/cc.in
@@ -2,10 +2,7 @@
menu "C compiler"
-config CC_CORE_PASS_1_NEEDED
- bool
-
-config CC_CORE_PASS_2_NEEDED
+config CC_CORE_NEEDED
bool
config CC_SUPPORT_CXX
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index 742d563..a708bb8 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -55,7 +55,7 @@ config CC_GCC_ENABLE_CXX_FLAGS
config CC_GCC_CORE_EXTRA_CONFIG_ARRAY
string "Core gcc extra config"
default ""
- depends on CC_CORE_PASS_1_NEEDED || CC_CORE_PASS_2_NEEDED
+ depends on CC_CORE_NEEDED
help
Extra flags to pass onto ./configure when configuring the core gcc.
diff --git a/config/libc/glibc.in b/config/libc/glibc.in
index 39c2c20..3da38bd 100644
--- a/config/libc/glibc.in
+++ b/config/libc/glibc.in
@@ -3,7 +3,7 @@
## depends on ! WINDOWS && ! BARE_METAL && ARCH_USE_MMU
## select LIBC_SUPPORT_THREADS_NATIVE
-## select CC_CORE_PASS_1_NEEDED
+## select CC_CORE_NEEDED
# TBD: select GETTEXT for build only, not for host
## select GETTEXT_NEEDED
## select BINUTILS_FORCE_LD_BFD_DEFAULT
diff --git a/config/libc/mingw-w64.in b/config/libc/mingw-w64.in
index 1880f08..2531fef 100644
--- a/config/libc/mingw-w64.in
+++ b/config/libc/mingw-w64.in
@@ -4,7 +4,7 @@
##
## select LIBC_SUPPORT_THREADS_NATIVE
## select LIBC_SUPPORT_THREADS_POSIX
-## select CC_CORE_PASS_2_NEEDED
+## select CC_CORE_NEEDED
## select BINUTILS_FORCE_LD_BFD_DEFAULT
##
## help The de-facto standard for Mingw distributions.
diff --git a/config/libc/moxiebox.in b/config/libc/moxiebox.in
index aa6ff53..07fc333 100644
--- a/config/libc/moxiebox.in
+++ b/config/libc/moxiebox.in
@@ -10,7 +10,7 @@
## select LIBC_SUPPORT_THREADS_NONE
## select COMP_TOOLS_AUTOCONF if !CONFIGURE_has_autoconf_2_65_or_newer || !CONFIGURE_has_autoreconf_2_64_or_newer
## select COMP_TOOLS_AUTOMAKE if !CONFIGURE_has_automake_1_15_or_newer
-## select CC_CORE_PASS_1_NEEDED
+## select CC_CORE_NEEDED
## select LIBELF_NEEDED
##
## help Secure execution runtime for Moxie architecture.
diff --git a/config/libc/musl.in b/config/libc/musl.in
index 0ea388e..db7abb7 100644
--- a/config/libc/musl.in
+++ b/config/libc/musl.in
@@ -3,7 +3,7 @@
## depends on ! WINDOWS && ! BARE_METAL
## depends on EXPERIMENTAL
## select LIBC_SUPPORT_THREADS_NATIVE
-## select CC_CORE_PASS_1_NEEDED
+## select CC_CORE_NEEDED
## help Musl is a new standard library to power a new generation of Linux-based
## help devices. musl is lightweight, fast, simple, free, and strives to be
diff --git a/config/libc/newlib.in b/config/libc/newlib.in
index 83ae4b1..f1cb29b 100644
--- a/config/libc/newlib.in
+++ b/config/libc/newlib.in
@@ -3,7 +3,7 @@
## depends on BARE_METAL
## select LIBC_PROVIDES_CXA_ATEXIT
## select LIBC_SUPPORT_THREADS_NONE
-## select CC_CORE_PASS_1_NEEDED
+## select CC_CORE_NEEDED
## help Newlib is a C library intended for use on embedded systems. It is a
## help conglomeration of several library parts, all under free software
diff --git a/config/libc/uClibc-ng.in b/config/libc/uClibc-ng.in
index 705c0d4..dc83ca7 100644
--- a/config/libc/uClibc-ng.in
+++ b/config/libc/uClibc-ng.in
@@ -5,7 +5,7 @@
## select LIBC_SUPPORT_THREADS_LT
## select LIBC_SUPPORT_THREADS_NONE
## select LIBC_SUPPORT_THREADS_NATIVE
-## select CC_CORE_PASS_1_NEEDED
+## select CC_CORE_NEEDED
##
## help The de-facto standard for embeded linux systems.
## help