Source-Changes-HG archive

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

[src/trunk]: src/etc/etc.sparc64 clean up for 32 bit libs building (still bro...



details:   https://anonhg.NetBSD.org/src/rev/54f849534ea3
branches:  trunk
changeset: 534558:54f849534ea3
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jul 29 14:26:21 2002 +0000

description:
clean up for 32 bit libs building (still broken)

diffstat:

 etc/etc.sparc64/Makefile.inc |  33 +++++++++++++++++----------------
 1 files changed, 17 insertions(+), 16 deletions(-)

diffs (72 lines):

diff -r d9cce6874154 -r 54f849534ea3 etc/etc.sparc64/Makefile.inc
--- a/etc/etc.sparc64/Makefile.inc      Mon Jul 29 14:23:12 2002 +0000
+++ b/etc/etc.sparc64/Makefile.inc      Mon Jul 29 14:26:21 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.16 2002/06/10 09:09:11 lukem Exp $
+#      $NetBSD: Makefile.inc,v 1.17 2002/07/29 14:26:21 mrg Exp $
 #
 #      etc.sparc64/Makefile.inc -- sparc64-specific etc Makefile targets
 #
@@ -18,10 +18,11 @@
 INSTALLATION_DIRS+=    ${MD_INSTALLATION_DIRS}
 
 # Used by 32 bit lib/csu, lib, gnu/lib & libexec/ld.elf_so
-LIBDIR=/usr/lib/sparcv7
-BINDIR=/usr/libexec/sparcv7
+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" \
-       MACHINE=sparc MACHINE_ARCH=sparc LIBDIR=${LIBDIR} BINDIR=${BINDIR} \
+       LIBDIR=${LIBDIR} BINDIR=${BINDIR} \
        SHLIB_LDSTARTFILE=${DESTDIR}${LIBDIR}/crtbeginS.o \
        SHLIB_LDENDFILE=${DESTDIR}${LIBDIR}/crtendS.o
 
@@ -37,35 +38,35 @@
        # build 32 bit csu
 .if ${MKOBJDIRS} != "no"
        (cd ${.CURDIR}/../lib/csu && \
-           ${MAKE} ${SPARC32} ${_M} obj)
+           ${SPARC32_ENV} ${MAKE} ${SPARC32} ${_M} obj)
 .endif
        (cd ${.CURDIR}/../lib/csu && \
-           ${MAKE} ${SPARC32} ${_M} ${_J} MKSHARE=no dependall && \
-           ${MAKE} ${SPARC32} ${_M} MKSHARE=no install)
+           ${SPARC32_ENV} ${MAKE} ${SPARC32} ${_M} ${_J} MKSHARE=no dependall && \
+           ${SPARC32_ENV} ${MAKE} ${SPARC32} ${_M} MKSHARE=no install)
        # build 32 bit libraries
 .if ${MKOBJDIRS} != "no"
        (cd ${.CURDIR}/../lib && \
-           ${MAKE} ${SPARC32} ${_M} obj)
+           ${SPARC32_ENV} ${MAKE} ${SPARC32} ${_M} obj)
 .endif
        (cd ${.CURDIR}/../lib && \
-           ${MAKE} ${SPARC32} ${_M} ${_J} MKSHARE=no dependall && \
-           ${MAKE} ${SPARC32} ${_M} MKSHARE=no install)
+           ${SPARC32_ENV} ${MAKE} ${SPARC32} ${_M} ${_J} MKSHARE=no dependall && \
+           ${SPARC32_ENV} ${MAKE} ${SPARC32} ${_M} MKSHARE=no install)
        # build 32 bit gnu libraries
 .if ${MKOBJDIRS} != "no"
        (cd ${.CURDIR}/../gnu/lib && \
-           ${MAKE} ${SPARC32} ${_M} obj)
+           ${SPARC32_ENV} ${MAKE} ${SPARC32} ${_M} obj)
 .endif
        (cd ${.CURDIR}/../gnu/lib && \
-           ${MAKE} ${SPARC32} ${_M} ${_J} MKSHARE=no dependall && \
-           ${MAKE} ${SPARC32} ${_M} MKSHARE=no install)
+           ${SPARC32_ENV} ${MAKE} ${SPARC32} ${_M} ${_J} MKSHARE=no dependall && \
+           ${SPARC32_ENV} ${MAKE} ${SPARC32} ${_M} MKSHARE=no install)
        # build 32 bit ld.elf_so
 .if ${MKOBJDIRS} != "no"
        (cd ${.CURDIR}/../libexec/ld.elf_so && \
-           ${MAKE} ${SPARC32} ${_M} obj)
+           ${SPARC32_ENV} ${MAKE} ${SPARC32} ${_M} obj)
 .endif
        (cd ${.CURDIR}/../libexec/ld.elf_so && \
-           ${MAKE} ${SPARC32} ${_M} ${_J} MKSHARE=no dependall && \
-           ${MAKE} ${SPARC32} ${_M} MKSHARE=no install)
+           ${SPARC32_ENV} ${MAKE} ${SPARC32} ${_M} ${_J} MKSHARE=no dependall && \
+           ${SPARC32_ENV} ${MAKE} ${SPARC32} ${_M} MKSHARE=no install)
 .endif
 
 #



Home | Main Index | Thread Index | Old Index