Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Nov 2001 22:38:31 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Warner Losh <imp@harmony.village.org>, <cvs-all@FreeBSD.org>, <cvs-committers@FreeBSD.org>, Takahashi Yoshihiro <nyan@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/conf Makefile.pc98 kern.post.mk
Message-ID:  <20011108221516.X1768-100000@delplex.bde.org>
In-Reply-To: <XFMail.011104091043.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011108221516.X1768-100000>