From 2ce6a96b2bb47d657eda42bdd0007a09618b4007 Mon Sep 17 00:00:00 2001 From: nyan Date: Sun, 12 Dec 1999 03:54:58 +0000 Subject: 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. --- Makefile.inc1 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Makefile.inc1') 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; \ -- cgit v1.1