aboutsummaryrefslogtreecommitdiff
path: root/libgloss/configure
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-02-17 21:23:40 -0500
committerMike Frysinger <vapier@gentoo.org>2022-02-23 19:44:10 -0500
commit8d758283785042589e95c93d7899cecf28ef00ea (patch)
tree575d09050b0a76c440cf2bd24e89bb476988cc63 /libgloss/configure
parent2f2b91550547001b005393097c5a4328451343d6 (diff)
downloadnewlib-8d758283785042589e95c93d7899cecf28ef00ea.zip
newlib-8d758283785042589e95c93d7899cecf28ef00ea.tar.gz
newlib-8d758283785042589e95c93d7899cecf28ef00ea.tar.bz2
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 dab6ac8..255f5ba 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" ;;