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 15:11:15 +0300
committerMike Frysinger <vapier@gentoo.org>2022-02-17 04:20:14 +0300
commit538a37be5befd96033cb921767b377e2dea30e27 (patch)
tree8daaae6f37817269911e6780e1d82158954bbfc5 /libgloss/configure
parent0c45c7ce673731a2e4d4360bf4e66a21b9a9b1ef (diff)
libgloss: merge mn10300 configure script up a level
Move the minor mn10300-specific logic to a dedicated file & namespace them so we can merge its configure logic up a level. part_specific_obj wasn't used anywhere (looks like copy & paste left over from mips), so drop it entirely.
Diffstat (limited to 'libgloss/configure')
-rwxr-xr-xlibgloss/configure23
1 files changed, 21 insertions, 2 deletions
diff --git a/libgloss/configure b/libgloss/configure
index 098cd5198..abe3a574c 100755
--- a/libgloss/configure
+++ b/libgloss/configure
@@ -592,6 +592,8 @@ target_makefile_frag_path
host_makefile_frag_path
MOXIE_BUILD_CRT0_FALSE
MOXIE_BUILD_CRT0_TRUE
+MN10300_BSP_LIST
+MN10300_SCRIPT_LIST
MCORE_BSP_PREFIX
M68K_TARGET
I386_CPPFLAGS
@@ -733,7 +735,6 @@ ac_subdirs_all='aarch64
sparc
wince
mips
-mn10300
arm'
# Initialize some variables set by options.
@@ -2767,8 +2768,10 @@ subdirs="$subdirs aarch64"
target_makefile_frag=${srcdir}/config/mn10200.mt
;;
mn10300-*-*)
- subdirs="$subdirs mn10300"
+ ac_config_files="$ac_config_files mn10300/Makefile"
+ subdirs="$subdirs mn10300"
+ target_makefile_frag=${srcdir}/config/mn10300.mt
;;
bfin-*-*)
config_bfin=true
@@ -5072,6 +5075,21 @@ case "${target}" in
esac
+MN10300_SCRIPT_LIST=
+MN10300_BSP_LIST=
+case "${target}" in
+ mn10300-*elf)
+ MN10300_SCRIPT_LIST="eval sim asb2303 asb2305"
+ MN10300_BSP_LIST="libeval.a libcygmon.a"
+ ;;
+ *)
+ MN10300_SCRIPT_LIST="eval sim"
+ MN10300_BSP_LIST="libeval.a"
+ ;;
+esac
+
+
+
case "${target}" in
moxie-*-moxiebox*)
MOXIE_BUILD_CRT0_TRUE='#'
@@ -5919,6 +5937,7 @@ do
"riscv/Makefile") CONFIG_FILES="$CONFIG_FILES riscv/Makefile" ;;
"rs6000/Makefile") CONFIG_FILES="$CONFIG_FILES rs6000/Makefile" ;;
"mn10200/Makefile") CONFIG_FILES="$CONFIG_FILES mn10200/Makefile" ;;
+ "mn10300/Makefile") CONFIG_FILES="$CONFIG_FILES mn10300/Makefile" ;;
"cr16/Makefile") CONFIG_FILES="$CONFIG_FILES cr16/Makefile" ;;
"cris/Makefile") CONFIG_FILES="$CONFIG_FILES cris/Makefile" ;;
"crx/Makefile") CONFIG_FILES="$CONFIG_FILES crx/Makefile" ;;