Don't make gdb, objc and f77 when building tools.

This commit is contained in:
Marcel Moolenaar 1999-12-09 16:40:27 +00:00
parent e8303833ee
commit 7466caf46a
2 changed files with 5 additions and 1 deletions

View File

@ -138,7 +138,9 @@ XMAKEENV= COMPILER_PATH=${WORLDTMP}/usr/libexec:${WORLDTMP}/usr/bin \
PATH=${TMPPATH}
# bootstrap make
BMAKE= ${BMAKEENV} ${MAKE} DESTDIR=${WORLDTMP} -DNOMAN -DNOINFO
BMAKE= ${BMAKEENV} ${MAKE} DESTDIR=${WORLDTMP} -DNOMAN -DNOINFO \
-DNO_FORTRAN -DNO_GDB -DNO_OBJC
# cross make used for compilation
XMAKE= ${XMAKEENV} ${MAKE} DESTDIR=${WORLDTMP} \
INSTALL="sh ${.CURDIR}/tools/install.sh"

View File

@ -6,10 +6,12 @@ SUBDIR= libiberty libbfd libopcodes libbinutils \
addr2line ar as gasp ld nm objcopy objdump ranlib \
size strings strip doc
.if !defined(NO_GDB)
# Maybe should be unconditional but I don't want to get in the
# way of the mips port.
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "alpha"
SUBDIR+= gdb gdbserver gdbreplay
.endif
.endif
.include <bsd.subdir.mk>