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.
This commit is contained in:
parent
105457a1c4
commit
a84ebf3fbc
|
@ -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/miniroot \
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue