From owner-cvs-all Wed Sep 2 06:19:07 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA16661 for cvs-all-outgoing; Wed, 2 Sep 1998 06:19:07 -0700 (PDT) (envelope-from owner-cvs-all) Received: from ns11.rim.or.jp (ns11.rim.or.jp [202.247.130.230]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA16656 for ; Wed, 2 Sep 1998 06:19:05 -0700 (PDT) (envelope-from masafumi@aslm.rim.or.jp) Received: from rayearth.rim.or.jp (rayearth.rim.or.jp [202.247.130.242]) by ns11.rim.or.jp (8.8.5/3.5Wpl2-ns11/RIMNET-2) with ESMTP id WAA06186; Wed, 2 Sep 1998 22:18:02 +0900 (JST) Received: (from uucp@localhost) by rayearth.rim.or.jp (8.8.5/3.5Wpl2-uucp1/RIMNET) with UUCP id WAA17819; Wed, 2 Sep 1998 22:18:02 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by mail.aslm.rim.or.jp (8.9.1/3.5Wpl3-SMTP) with ESMTP id WAA12042; Wed, 2 Sep 1998 22:17:21 +0900 (JST) To: committers@freebsd.org Cc: max@wide.ad.jp Subject: some optimazation to make aout-to-elf-build From: Masafumi NAKANE/=?iso-2022-jp?B?GyRCQ2Y6LDJtSjgbKEI=?= X-Mailer: Mew version 1.92.4 on Emacs 20.2 / Mule 3.0 (MOMIJINOGA) X-PGP-Fingerprint: 00 D8 2C CA C7 75 D4 40 5C 34 39 BA A5 46 C0 CC Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19980902221720Z.masafumi@aslm.rim.or.jp> Date: Wed, 02 Sep 1998 22:17:20 +0900 X-Dispatcher: imput version 971024 Lines: 32 Sender: owner-cvs-all@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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