From owner-freebsd-current Wed Jul 22 05:00:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA16241 for freebsd-current-outgoing; Wed, 22 Jul 1998 05:00:53 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA16236 for ; Wed, 22 Jul 1998 05:00:48 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id WAA17349; Wed, 22 Jul 1998 22:00:25 +1000 Date: Wed, 22 Jul 1998 22:00:25 +1000 From: Bruce Evans Message-Id: <199807221200.WAA17349@godzilla.zeta.org.au> To: jb@cimlogic.com.au, paul@originative.co.uk Subject: Re: Does building current on 2.2.x still work? Cc: current@FreeBSD.ORG, dwhite@resnet.uoregon.edu, imp@village.org, nrice@emu.sourcee.com Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> Would it make sense to install the new mk files during the bootstrap >> target. The original idea I had for the bootstrap target was to deal >> with precisely these things, carry out steps required to bootstrap from >> the previously released version to current. > >The issue here is that you can't necessarily parse the top level makefile >without consistent .mk includes, so your bootstrap target won't be >guaranteed of working. And a buildworld is not supposed to clobber >things on the host system, so you have to live with old installed .mk >files. Yes, installing .mk files just to bootstrap would cause much the same problems as making the infamous `includes' target just to bootstrap. OTOH, src/Makefile is a simple Makefile; there is no reason it can't be written to work with the current set of .mk files provided they are consistent. >The answer is: don't use them. Except for parsing the top level makefile, >the current build system doesn't use the installed .mk files. When you >specify the -m argument on the command line, you get a consistent build. >W^5 (Which Was What We Wanted). Except when you specify the wrong -m arg on the command line. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message