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}
|
PATH=${TMPPATH}
|
||||||
|
|
||||||
# bootstrap make
|
# 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
|
# cross make used for compilation
|
||||||
XMAKE= ${XMAKEENV} ${MAKE} DESTDIR=${WORLDTMP} \
|
XMAKE= ${XMAKEENV} ${MAKE} DESTDIR=${WORLDTMP} \
|
||||||
INSTALL="sh ${.CURDIR}/tools/install.sh"
|
INSTALL="sh ${.CURDIR}/tools/install.sh"
|
||||||
|
@ -6,10 +6,12 @@ SUBDIR= libiberty libbfd libopcodes libbinutils \
|
|||||||
addr2line ar as gasp ld nm objcopy objdump ranlib \
|
addr2line ar as gasp ld nm objcopy objdump ranlib \
|
||||||
size strings strip doc
|
size strings strip doc
|
||||||
|
|
||||||
|
.if !defined(NO_GDB)
|
||||||
# Maybe should be unconditional but I don't want to get in the
|
# Maybe should be unconditional but I don't want to get in the
|
||||||
# way of the mips port.
|
# way of the mips port.
|
||||||
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "alpha"
|
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "alpha"
|
||||||
SUBDIR+= gdb gdbserver gdbreplay
|
SUBDIR+= gdb gdbserver gdbreplay
|
||||||
.endif
|
.endif
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.subdir.mk>
|
.include <bsd.subdir.mk>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user