From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id 0FDA53858D32; Tue, 20 Dec 2022 00:08:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0FDA53858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1671494887; bh=5L3PhWdTC03uFK2V5/z9AI7AxcqRoKnKK/80nYp8WUA=; h=From:To:Subject:Date:From; b=ARTbD1B+QpsbMOVxpYY+IySb4wD2fZf9s1MFiOZ9Jd2W0Wc85JkLu5qJE3/cwAcAE z9fgWub9fsbotOvoTBdOH9VukxjFfJ8m9xQbnddGG0KjY6Zjsw17VccOXIpM7rs1u0 VOCIted3DmbsKfo4RBvNbGslmiB09hkKrn43WjVw= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] libgloss: drop unused multi-build logic X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: 6668403d2da566e5f269e20c428a2e813dc00eba X-Git-Newrev: 2dfc4a9e973dd6c74b61b1f25630080de23580dd Message-Id: <20221220000807.0FDA53858D32@sourceware.org> Date: Tue, 20 Dec 2022 00:08:07 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D2dfc4a9e973= dd6c74b61b1f25630080de23580dd commit 2dfc4a9e973dd6c74b61b1f25630080de23580dd Author: Mike Frysinger Date: Tue Dec 13 21:12:02 2022 -0500 libgloss: drop unused multi-build logic =20 Now that aarch64 & arm have migrated off this, we can punt it. Diff: --- libgloss/doc/porting.texi | 4 +-- libgloss/multi-build.in | 66 -------------------------------------------= ---- 2 files changed, 1 insertion(+), 69 deletions(-) diff --git a/libgloss/doc/porting.texi b/libgloss/doc/porting.texi index 496fae352..15f214d02 100644 --- a/libgloss/doc/porting.texi +++ b/libgloss/doc/porting.texi @@ -398,9 +398,7 @@ any target that has migrated to @value{automake}. =20 Libgloss automatically builds itself for all multilib configurations that = the active toolchain supports. This logic is provided by common code from the -combined toolchain source tree. This should @strong{not} be confused with= the -Libgloss-specific @file{multi-build.in} file. That is used by a few ports= to -further produce multiple targets. +combined toolchain source tree. =20 @node GCC, Libraries, Libgloss, Top @chapter Porting GCC diff --git a/libgloss/multi-build.in b/libgloss/multi-build.in deleted file mode 100644 index 80919ed6f..000000000 --- a/libgloss/multi-build.in +++ /dev/null @@ -1,66 +0,0 @@ -# This is like ../multilib.am and ../config-ml.in and ../config/multi.m4 m= ashed -# into one file. It relies on some custom hardcoded MULTI* variables in t= he -# respective Makefile.in instead of dynamic compiler probing that ../multi= lib.am -# does. - -PWD_COMMAND=3D$${PWDCMD-pwd} - -# FIXME: There should be an @-sign in front of the `if'. -# Leave out until this is tested a bit more. -libgloss-multi-do: - if [ -z "$(MULTIDIRS)" ]; then \ - true; \ - else \ - rootpre=3D`${PWD_COMMAND}`/; export rootpre; \ - srcrootpre=3D`cd $(srcdir); ${PWD_COMMAND}`/; export srcrootpre; \ - lib=3D`echo "$${rootpre}" | sed -e 's,^.*/\([^/][^/]*\)/$$,\1,'`; expor= t lib; \ - compiler=3D"$(CC)"; \ - for dir in $(MULTIDIRS); do \ - if [ "$${dir}" =3D "." ]; then \ - true; \ - else \ - destpre=3D`echo $${rootpre}/$${dir}`/; export destpre; \ - if ! test -d $${destpre} ; then \ - mkdir -p $${destpre}; \ - cd $${destpre}; \ - config_cmd=3D`../config.status --config | sed -re "s:--srcdir=3D([^/]):-= -srcdir=3D../\1:"`; \ - $(SHELL) -c "$(SHELL) $${srcrootpre}/configure $${config_cmd}";\ - sed -e "s:^MULTIDIRS[[:space:]]*+=3D.*$$:MULTIDIRS =3D :" \ - -e "s:^MULTILIBNAME[[:space:]]*=3D.*$$:MULTILIBNAME =3D MULTIDIR_$${= dir}_NAME:" \ - -e "s:^MULTI_FLAGS_FOR_TARGET[[:space:]]*=3D.*$$:MULTI_FLAGS_FOR_TAR= GET =3D MULTIDIR_$${dir}_FLAGS:" \ - -e "s:^objdir[[:space:]]*=3D.*$$:objdir =3D ..:" \ - Makefile > Makefile.tem; \ - rm -f Makefile; \ - mv Makefile.tem Makefile; \ - else \ - cd $${destpre}; \ - fi; \ - if ($(MAKE) $(FLAGS_TO_PASS) \ - CFLAGS=3D"$(CFLAGS)" \ - CCASFLAGS=3D"$(CCASFLAGS)" \ - FCFLAGS=3D"$(FCFLAGS)" \ - FFLAGS=3D"$(FFLAGS)" \ - ADAFLAGS=3D"$(ADAFLAGS)" \ - prefix=3D"$(prefix)" \ - exec_prefix=3D"$(exec_prefix)" \ - GCJFLAGS=3D"$(GCJFLAGS)" \ - GOCFLAGS=3D"$(GOCFLAGS)" \ - CXXFLAGS=3D"$(CXXFLAGS)" \ - LIBCFLAGS=3D"$(LIBCFLAGS)" \ - LIBCXXFLAGS=3D"$(LIBCXXFLAGS)" \ - LDFLAGS=3D"$(LDFLAGS)" \ - MULTIFLAGS=3D"" \ - DESTDIR=3D"$(DESTDIR)" \ - SOURCE=3D"${srcdir}/" \ - INSTALL=3D"$(INSTALL)" \ - INSTALL_DATA=3D"$(INSTALL_DATA)" \ - INSTALL_PROGRAM=3D"$(INSTALL_PROGRAM)" \ - INSTALL_SCRIPT=3D"$(INSTALL_SCRIPT)" \ - $(DO)); then \ - cd $${rootpre}; \ - else \ - exit 1; \ - fi; \ - fi; \ - done; \ - fi