From owner-cvs-all Thu Nov 8 3:39:48 2001 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 3521337B420; Thu, 8 Nov 2001 03:39:42 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id WAA17100; Thu, 8 Nov 2001 22:39:39 +1100 Date: Thu, 8 Nov 2001 22:38:31 +1100 (EST) From: Bruce Evans X-X-Sender: To: John Baldwin Cc: Warner Losh , , , Takahashi Yoshihiro Subject: Re: cvs commit: src/sys/conf Makefile.pc98 kern.post.mk In-Reply-To: Message-ID: <20011108221516.X1768-100000@delplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 4 Nov 2001, John Baldwin wrote: > Ideally one should be able to build a kernel without having to do 'make depend' > first. For i386 at least, this is possible if one does 'make assym.s all'. For i386's at least, this was possible last week if one did nothing, provided the build directory was new. More was possible until a couple of years ago when some dependencies were broken by excessive cleanups in conf/files and/or conf/files.${MACHINE}. The dependencies are still there in ${BEFORE_DEPENDS}, so `make depend' works. The broken dependencies involvd generated headers, so running `make depend' fixes the problem (by generating the headers). `make assym.s' may help too, since it generates at least the assym.s header. Example of the brokenness: 1. Generate a fresh GENERIC and chdir to its compile directory. 2. Run `make depend' and `make', or to save time, just touch .depend. 3. `make clean'. 4. `make' now fails. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message