summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>1999-12-12 03:54:58 +0000
committernyan <nyan@FreeBSD.org>1999-12-12 03:54:58 +0000
commit2ce6a96b2bb47d657eda42bdd0007a09618b4007 (patch)
tree495129d9d8489daf20217fe04e08d9fd570e43a0 /Makefile.inc1
parent7cbe0b8f16374a4114b20568fe691ac454c818f8 (diff)
downloadFreeBSD-src-2ce6a96b2bb47d657eda42bdd0007a09618b4007.zip
FreeBSD-src-2ce6a96b2bb47d657eda42bdd0007a09618b4007.tar.gz
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.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc112
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 5b0b5b2..7c12692 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -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; \
OpenPOWER on IntegriCloud