Build a.out tools if MACHINE_ARCH == i386 and MACHINE == pc98.

The boot2 for pc98 is still a.out program.

I made the original patch, and many problems were fixed by Marcel Moolenaar.
This commit is contained in:
Yoshihiro Takahashi 1999-12-12 03:54:58 +00:00
parent 3854a87ef3
commit 845eb5375c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54470

View File

@ -147,6 +147,10 @@ IMAKE= ${IMAKEENV} ${MAKE} -f Makefile.inc1
USRDIRS= usr/bin usr/lib/compat/aout usr/games usr/libdata/ldscripts \
usr/libexec/${OBJFORMAT} usr/share/misc
.if ${MACHINE_ARCH} == "i386" && ${MACHINE} == "pc98"
USRDIRS+= usr/libexec/aout
.endif
INCDIRS= arpa g++/std objc protocols readline rpc rpcsvc security ss
#
@ -334,9 +338,13 @@ installmost:
_strfile= games/fortune/strfile
.endif
.if ${MACHINE_ARCH} == "i386" && ${MACHINE} == "pc98"
_aout_tools= usr.bin/size usr.bin/strip gnu/usr.bin/as gnu/usr.bin/ld
.endif
tools::
.for _tool in ${_strfile} gnu/usr.bin/binutils usr.bin/objformat \
usr.bin/yacc gnu/usr.bin/bison gnu/usr.bin/cc
.for _tool in ${_strfile} ${_aout_tools} gnu/usr.bin/binutils \
usr.bin/objformat usr.bin/yacc gnu/usr.bin/bison gnu/usr.bin/cc
cd ${.CURDIR}/${_tool}; \
${MAKE} obj; \
${MAKE} depend; \