Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Sep 1998 22:17:20 +0900
From:      Masafumi NAKANE/=?iso-2022-jp?B?GyRCQ2Y6LDJtSjgbKEI=?= <max@wide.ad.jp>
To:        committers@freebsd.org
Cc:        max@wide.ad.jp
Subject:   some optimazation to make aout-to-elf-build
Message-ID:  <19980902221720Z.masafumi@aslm.rim.or.jp>

next in thread | raw e-mail | index | archive | help
Hi,

I've been trying to do make aout-to-elf-build and noticed that we can
skip build of some programs in the aout build.  The following simple
patch seems to work except when the elf version of games/fortune is
built.  This is because the build of fortune uses strfile and caesar,
and they are expected to be in obj/aout/usr/src/tmp/usr/games/.

I have successfully completed aout-to-elf-build with -DNOGAMES.  Since
using the following patch (with appropriate fix to fortune Makefile)
reduces the time it takes to do aout-to-elf-build, I think it is
worthwhile to fix this.  What would be the appropriate fix?

     Cheers,
Max
Index: Makefile.upgrade
===================================================================
RCS file: /home/ncvs/src/Makefile.upgrade,v
retrieving revision 1.2
diff -u -r1.2 Makefile.upgrade
--- Makefile.upgrade	1998/08/31 20:22:07	1.2
+++ Makefile.upgrade	1998/09/02 00:44:23
@@ -65,7 +65,8 @@
 	@echo " Doing an aout buildworld to get an up-to-date set of tools"
 	@echo "--------------------------------------------------------------"
 	@cd ${.CURDIR}; MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}/aout \
-		OBJFORMAT=aout \
+		OBJFORMAT=aout NOGAMES=1 NOTCL=1 NOINFO=1 NOLKM=1 \
+		NOPROFILE=1 NOSHARE=1 NOMAN=1 NO_SENDMAIL=1 \
 		make -f Makefile.inc1 -m ${.CURDIR}/share/mk buildworld
 	@touch ${MAKEOBJDIRPREFIX}/do_aout_buildworld
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980902221720Z.masafumi>