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-18 05:23:40 +0300
committerMike Frysinger <vapier@gentoo.org>2022-02-24 03:44:10 +0300
commit8d758283785042589e95c93d7899cecf28ef00ea (patch)
tree575d09050b0a76c440cf2bd24e89bb476988cc63 /libgloss/configure
parent2f2b91550547001b005393097c5a4328451343d6 (diff)
libgloss: merge sparc configure script up a level
Move the minor sparc-specific logic to a dedicated variable so we can merge its configure logic up a level.
Diffstat (limited to 'libgloss/configure')
-rwxr-xr-xlibgloss/configure5
1 files changed, 3 insertions, 2 deletions
diff --git a/libgloss/configure b/libgloss/configure
index dab6ac807..255f5ba0c 100755
--- a/libgloss/configure
+++ b/libgloss/configure
@@ -743,7 +743,6 @@ CCAS
CCASFLAGS
CPP'
ac_subdirs_all='aarch64
-sparc
arm'
# Initialize some variables set by options.
@@ -2774,8 +2773,9 @@ subdirs="$subdirs aarch64"
subdirs="$subdirs sparc_leon"
;;
sparclet-*-aout* | sparc-*-elf* | sparc64-*-elf* | sparc86x-*-* | sparclite-*-*)
- subdirs="$subdirs sparc"
+ ac_config_files="$ac_config_files sparc/Makefile"
+ subdirs="$subdirs sparc"
;;
sh*-*-pe | mips*-*-pe | *arm*-wince-pe)
config_wince=true
@@ -6054,6 +6054,7 @@ do
"pa/Makefile") CONFIG_FILES="$CONFIG_FILES pa/Makefile" ;;
"i960/Makefile") CONFIG_FILES="$CONFIG_FILES i960/Makefile" ;;
"sparc_leon/Makefile") CONFIG_FILES="$CONFIG_FILES sparc_leon/Makefile" ;;
+ "sparc/Makefile") CONFIG_FILES="$CONFIG_FILES sparc/Makefile" ;;
"mips/Makefile") CONFIG_FILES="$CONFIG_FILES mips/Makefile" ;;
"riscv/Makefile") CONFIG_FILES="$CONFIG_FILES riscv/Makefile" ;;
"rs6000/Makefile") CONFIG_FILES="$CONFIG_FILES rs6000/Makefile" ;;