Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2021-03-24 12:32:50 +0300
committerCorinna Vinschen <corinna@vinschen.de>2021-04-13 13:55:33 +0300
commit80bd01ef831fbbb08f883a76576eba128ca1c385 (patch)
tree94f9b4f7728aad142e902ed37121a7133bc90f14 /newlib/configure.host
parent20d00819984058e439cfe40818f81d7315c89201 (diff)
Add build mechanism to share common header files between machines
So far the build mechanism in newlib only allowed to either define machine-specific headers, or headers shared between all machines. In some cases, architectures are sufficiently alike to share header files between them, but not with other architectures. A good example is ix86 vs. x86_64, which share certain traits with each other, but not with other architectures. Introduce a new configure variable called "shared_machine_dir". This dir can then be used for headers shared between architectures. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/configure.host')
-rw-r--r--newlib/configure.host3
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index 1ddbb6c76..aae09bfa3 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -34,6 +34,8 @@
# It sets the following shell variables:
# newlib_cflags Special CFLAGS to use when building
# machine_dir Subdirectory of libc/machine to configure
+# shared_machine_dir Subdirectory of libc/machine for files shared
+# between specific architectures, optional
# sys_dir Subdirectory of libc/sys to configure
# have_sys_mach_dir Is there a machine subdirectory in sys subdirectory
# posix_dir "posix" to build libc/posix, "" otherwise
@@ -55,6 +57,7 @@
newlib_cflags=
libm_machine_dir=
machine_dir=
+shared_machine_dir=
sys_dir=
posix_dir=
signal_dir=signal