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-14 05:54:54 +0300
committerMike Frysinger <vapier@gentoo.org>2023-01-10 05:49:50 +0300
commit13a7b16ea3ad64794b1cd7651ecfef9c258f3a6c (patch)
treead90b183d676a4c7cc758dd1ccc51af1f03cfa57 /libgloss/configure
parent9ee1e1b693ad7785e07f126ec725279fe605d621 (diff)
libgloss: merge aarch64 into top-level Makefile
Avoid a recursive make to speed things up a bit.
Diffstat (limited to 'libgloss/configure')
-rwxr-xr-xlibgloss/configure20
1 files changed, 15 insertions, 5 deletions
diff --git a/libgloss/configure b/libgloss/configure
index 8de7e1f15..d89ba5b51 100755
--- a/libgloss/configure
+++ b/libgloss/configure
@@ -644,6 +644,8 @@ CONFIG_IQ2000_FALSE
CONFIG_IQ2000_TRUE
CONFIG_BFIN_FALSE
CONFIG_BFIN_TRUE
+CONFIG_AARCH64_FALSE
+CONFIG_AARCH64_TRUE
subdirs
HAVE_MULTISUBDIR_FALSE
HAVE_MULTISUBDIR_TRUE
@@ -2729,9 +2731,7 @@ target_makefile_frag=${srcdir}/config/default.mt
case "${target}" in
aarch64*-*-*)
- ac_config_files="$ac_config_files aarch64/Makefile aarch64/cpu-init/Makefile"
-
- subdirs="$subdirs aarch64 aarch64/cpu-init"
+ config_aarch64=true
config_testsuite=true
;;
arc*-*-*)
@@ -2974,6 +2974,14 @@ case "${target}" in
esac
+ if test x$config_aarch64 = xtrue; then
+ CONFIG_AARCH64_TRUE=
+ CONFIG_AARCH64_FALSE='#'
+else
+ CONFIG_AARCH64_TRUE='#'
+ CONFIG_AARCH64_FALSE=
+fi
+
if test x$config_bfin = xtrue; then
CONFIG_BFIN_TRUE=
CONFIG_BFIN_FALSE='#'
@@ -5248,6 +5256,10 @@ if test -z "${HAVE_MULTISUBDIR_TRUE}" && test -z "${HAVE_MULTISUBDIR_FALSE}"; th
as_fn_error $? "conditional \"HAVE_MULTISUBDIR\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+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_BFIN_TRUE}" && test -z "${CONFIG_BFIN_FALSE}"; then
as_fn_error $? "conditional \"CONFIG_BFIN\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -5892,8 +5904,6 @@ for ac_config_target in $ac_config_targets
do
case $ac_config_target in
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
- "aarch64/Makefile") CONFIG_FILES="$CONFIG_FILES aarch64/Makefile" ;;
- "aarch64/cpu-init/Makefile") CONFIG_FILES="$CONFIG_FILES aarch64/cpu-init/Makefile" ;;
"arc/Makefile") CONFIG_FILES="$CONFIG_FILES arc/Makefile" ;;
"csky/Makefile") CONFIG_FILES="$CONFIG_FILES csky/Makefile" ;;
"epiphany/Makefile") CONFIG_FILES="$CONFIG_FILES epiphany/Makefile" ;;