Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/etc.sparc64 etc.sparc64: remove obsolete MK32BITLIBS



details:   https://anonhg.NetBSD.org/src/rev/569bf04fdb4b
branches:  trunk
changeset: 376142:569bf04fdb4b
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Jun 02 20:49:07 2023 +0000

description:
etc.sparc64: remove obsolete MK32BITLIBS

As there's a functional MKCOMPAT implementation, and
MK32BITLIBS=yes hasn't worked since 2002 (and noone
noticed the latter), remove obsolete MK32BITLIBS code.

Per confirmation from martin@, mrg@, and riastradh@ on ICB.

diffstat:

 etc/etc.sparc64/Makefile.inc |  32 +-------------------------------
 1 files changed, 1 insertions(+), 31 deletions(-)

diffs (50 lines):

diff -r d3d642d71727 -r 569bf04fdb4b etc/etc.sparc64/Makefile.inc
--- a/etc/etc.sparc64/Makefile.inc      Fri Jun 02 20:48:41 2023 +0000
+++ b/etc/etc.sparc64/Makefile.inc      Fri Jun 02 20:49:07 2023 +0000
@@ -1,9 +1,7 @@
-#      $NetBSD: Makefile.inc,v 1.34 2023/06/02 14:32:04 lukem Exp $
+#      $NetBSD: Makefile.inc,v 1.35 2023/06/02 20:49:07 lukem Exp $
 #
 #      etc.sparc64/Makefile.inc -- sparc64-specific etc Makefile targets
 #
-# Specify whether or not to build 32-bit libs.
-MK32BITLIBS?=no
 
 # If you change the list of distributed kernels, don't forget
 # to update the release documentation in distrib/notes/common/contents
@@ -17,35 +15,7 @@ MD_INSTALLATION_DIRS=        installation/minir
                        installation/misc
 INSTALLATION_DIRS+=    ${MD_INSTALLATION_DIRS}
 
-# Used by 32 bit lib/csu, lib, gnu/lib & libexec/ld.elf_so
-LIBDIR=/usr/lib/32
-BINDIR=/usr/libexec/32
-SPARC32_ENV=MACHINE=sparc MACHINE_ARCH=sparc
-SPARC32=COPTS=-m32 LD="ld -m elf32_sparc" AS="as -32" \
-       LIBDIR=${LIBDIR} BINDIR=${BINDIR} \
-       SHLIB_LDSTARTFILE=${DESTDIR}${LIBDIR}/crtbeginS.o \
-       SHLIB_LDENDFILE=${DESTDIR}${LIBDIR}/crtendS.o
-
-
 snap_md_post:
-
-.if ${MACHINE_ARCH} == "sparc64" && ${MK32BITLIBS} != "no"
-
-       # build 32 bit programs
-.for _s64dir in lib/csu lib gnu/lib libexec/ld_elf.so
-.if ${MKOBJDIRS} != "no"
-       (cd ${NETBSDSRCDIR}/${_s64dir} && \
-           ${SPARC32_ENV} ${MAKE} ${SPARC32} ${_M} obj)
-.endif
-.if ${MKUPDATE} == "no"
-       (cd ${NETBSDSRCDIR}/${_s64dir} && ${MAKE} cleandir)
-.endif
-       (cd ${NETBSDSRCDIR}/${_s64dir} && \
-           ${SPARC32_ENV} ${MAKE} ${SPARC32} ${_M} ${_J} MKSHARE=no dependall \
-           && ${SPARC32_ENV} ${MAKE} ${SPARC32} ${_M} MKSHARE=no install)
-.endfor
-.endif # MACHINE_ARCH==sparc64 && MACHINE==sparc && MK32BITLIBS!=no
-
        # Install miniroot images and auxiliary scripts to the release tree
 .if exists($(XSRCDIR)/xc/Imakefile)
        # build X11



Home | Main Index | Thread Index | Old Index