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:
authorMike Frysinger <vapier@gentoo.org>2022-02-11 14:48:07 +0300
committerMike Frysinger <vapier@gentoo.org>2022-02-17 04:10:48 +0300
commite7f8999918a09cdb9a93daea72845b0aa2c99bf4 (patch)
treee44b42c0c7cf8c7cb5cb50d123a4e27a785759c1 /libgloss/configure
parent5200f756cc12dcf0eca32ae493edfd0c92e1994f (diff)
libgloss: merge moxie configure script up a level
Move the minor moxie-specific logic to a dedicated file & namespace them so we can merge its configure logic up a level.
Diffstat (limited to 'libgloss/configure')
-rwxr-xr-xlibgloss/configure20
1 files changed, 18 insertions, 2 deletions
diff --git a/libgloss/configure b/libgloss/configure
index 2391a0cc4..772c4e79a 100755
--- a/libgloss/configure
+++ b/libgloss/configure
@@ -590,6 +590,8 @@ LIBOBJS
multi_basedir
target_makefile_frag_path
host_makefile_frag_path
+MOXIE_BUILD_CRT0_FALSE
+MOXIE_BUILD_CRT0_TRUE
I386_CPPFLAGS
CPP
am__fastdepCCAS_FALSE
@@ -733,7 +735,6 @@ mips
mn10200
mn10300
mcore
-moxie
arm'
# Initialize some variables set by options.
@@ -2820,8 +2821,9 @@ subdirs="$subdirs aarch64"
subdirs="$subdirs mep"
;;
moxie-*-*)
- subdirs="$subdirs moxie"
+ ac_config_files="$ac_config_files moxie/Makefile"
+ subdirs="$subdirs moxie"
;;
microblaze*-*-*)
ac_config_files="$ac_config_files microblaze/Makefile"
@@ -5009,6 +5011,19 @@ $as_echo "#define MISSING_SYSCALL_NAMES 1" >>confdefs.h
;;
esac
+case "${target}" in
+ moxie-*-moxiebox*)
+ MOXIE_BUILD_CRT0_TRUE='#'
+ MOXIE_BUILD_CRT0_FALSE=
+ ;;
+ *)
+ MOXIE_BUILD_CRT0_TRUE=
+ MOXIE_BUILD_CRT0_FALSE='#'
+ ;;
+esac
+
+
+
host_makefile_frag_path=$host_makefile_frag
@@ -5850,6 +5865,7 @@ do
"ft32/Makefile") CONFIG_FILES="$CONFIG_FILES ft32/Makefile" ;;
"lm32/Makefile") CONFIG_FILES="$CONFIG_FILES lm32/Makefile" ;;
"mep/Makefile") CONFIG_FILES="$CONFIG_FILES mep/Makefile" ;;
+ "moxie/Makefile") CONFIG_FILES="$CONFIG_FILES moxie/Makefile" ;;
"microblaze/Makefile") CONFIG_FILES="$CONFIG_FILES microblaze/Makefile" ;;
"mt/Makefile") CONFIG_FILES="$CONFIG_FILES mt/Makefile" ;;
"v850/Makefile") CONFIG_FILES="$CONFIG_FILES v850/Makefile" ;;