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>2023-01-13 07:34:59 +0300
committerMike Frysinger <vapier@gentoo.org>2023-01-14 01:24:17 +0300
commit4391d2aed3d4878c5a63f59d2a768f5d38f3936d (patch)
tree73eb533f0e0a443ea3fe4e4463b50e3631786efa /libgloss/configure
parentc8ddd03cb015cf7f9137c42a6cbd0639c6c93a23 (diff)
libgloss: merge csky into top-level Makefile
Avoid a recursive make to speed things up a bit. A csky-elf build shows installed objects & libs produce same code.
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 6d4969b88..28754b6d5 100755
--- a/libgloss/configure
+++ b/libgloss/configure
@@ -644,6 +644,8 @@ CONFIG_IQ2000_FALSE
CONFIG_IQ2000_TRUE
CONFIG_D30V_FALSE
CONFIG_D30V_TRUE
+CONFIG_CSKY_FALSE
+CONFIG_CSKY_TRUE
CONFIG_BFIN_FALSE
CONFIG_BFIN_TRUE
CONFIG_ARM_FALSE
@@ -2755,9 +2757,7 @@ case "${target}" in
config_arc=true
;;
csky*-*-*)
- ac_config_files="$ac_config_files csky/Makefile"
-
- subdirs="$subdirs csky"
+ config_csky=true
;;
epiphany-*-*)
ac_config_files="$ac_config_files epiphany/Makefile"
@@ -3015,6 +3015,14 @@ else
CONFIG_BFIN_FALSE=
fi
+ if test x$config_csky = xtrue; then
+ CONFIG_CSKY_TRUE=
+ CONFIG_CSKY_FALSE='#'
+else
+ CONFIG_CSKY_TRUE='#'
+ CONFIG_CSKY_FALSE=
+fi
+
if test x$config_d30v = xtrue; then
CONFIG_D30V_TRUE=
CONFIG_D30V_FALSE='#'
@@ -5307,6 +5315,10 @@ 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
fi
+if test -z "${CONFIG_CSKY_TRUE}" && test -z "${CONFIG_CSKY_FALSE}"; then
+ as_fn_error $? "conditional \"CONFIG_CSKY\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${CONFIG_D30V_TRUE}" && test -z "${CONFIG_D30V_FALSE}"; then
as_fn_error $? "conditional \"CONFIG_D30V\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -5955,7 +5967,6 @@ for ac_config_target in $ac_config_targets
do
case $ac_config_target in
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
- "csky/Makefile") CONFIG_FILES="$CONFIG_FILES csky/Makefile" ;;
"epiphany/Makefile") CONFIG_FILES="$CONFIG_FILES epiphany/Makefile" ;;
"i386/Makefile") CONFIG_FILES="$CONFIG_FILES i386/Makefile" ;;
"m32r/Makefile") CONFIG_FILES="$CONFIG_FILES m32r/Makefile" ;;