Don't make gdb, objc and f77 when building tools.
This commit is contained in:
parent
e8303833ee
commit
7466caf46a
@ -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"
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user