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-12-15 02:54:45 +0300
committerMike Frysinger <vapier@gentoo.org>2023-01-11 16:42:16 +0300
commit5401db924f565a72939d2b7cb66d6d51203fefb7 (patch)
tree0dfd64efea00a5bbbe1e7a68789d9efd1572d580 /libgloss/configure
parent275b39e219d06ec26715bf2b53812513e37e7c04 (diff)
libgloss: merge arc into top-level Makefile
Avoid a recursive make to speed things up a bit.
Diffstat (limited to 'libgloss/configure')
-rwxr-xr-xlibgloss/configure19
1 files changed, 15 insertions, 4 deletions
diff --git a/libgloss/configure b/libgloss/configure
index a9d32aa94..449346817 100755
--- a/libgloss/configure
+++ b/libgloss/configure
@@ -644,6 +644,8 @@ CONFIG_BFIN_FALSE
CONFIG_BFIN_TRUE
CONFIG_ARM_FALSE
CONFIG_ARM_TRUE
+CONFIG_ARC_FALSE
+CONFIG_ARC_TRUE
CONFIG_AARCH64_FALSE
CONFIG_AARCH64_TRUE
subdirs
@@ -2746,9 +2748,7 @@ case "${target}" in
config_testsuite=true
;;
arc*-*-*)
- ac_config_files="$ac_config_files arc/Makefile"
-
- subdirs="$subdirs arc"
+ config_arc=true
;;
csky*-*-*)
ac_config_files="$ac_config_files csky/Makefile"
@@ -2991,6 +2991,14 @@ else
CONFIG_AARCH64_FALSE=
fi
+ if test x$config_arc = xtrue; then
+ CONFIG_ARC_TRUE=
+ CONFIG_ARC_FALSE='#'
+else
+ CONFIG_ARC_TRUE='#'
+ CONFIG_ARC_FALSE=
+fi
+
if test x$config_arm = xtrue; then
CONFIG_ARM_TRUE=
CONFIG_ARM_FALSE='#'
@@ -5271,6 +5279,10 @@ if test -z "${CONFIG_AARCH64_TRUE}" && test -z "${CONFIG_AARCH64_FALSE}"; then
as_fn_error $? "conditional \"CONFIG_AARCH64\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${CONFIG_ARC_TRUE}" && test -z "${CONFIG_ARC_FALSE}"; then
+ as_fn_error $? "conditional \"CONFIG_ARC\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${CONFIG_ARM_TRUE}" && test -z "${CONFIG_ARM_FALSE}"; then
as_fn_error $? "conditional \"CONFIG_ARM\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -5919,7 +5931,6 @@ for ac_config_target in $ac_config_targets
do
case $ac_config_target in
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
- "arc/Makefile") CONFIG_FILES="$CONFIG_FILES arc/Makefile" ;;
"csky/Makefile") CONFIG_FILES="$CONFIG_FILES csky/Makefile" ;;
"epiphany/Makefile") CONFIG_FILES="$CONFIG_FILES epiphany/Makefile" ;;
"i386/Makefile") CONFIG_FILES="$CONFIG_FILES i386/Makefile" ;;