Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Mar 1998 15:54:00 +0100
From:      Eivind Eklund <eivind@FreeBSD.ORG>
To:        hackers@FreeBSD.ORG
Subject:   Proposed changes the FreeBSD build system
Message-ID:  <19980309155400.21248@follo.net>

next in thread | raw e-mail | index | archive | help
I have lying about (separate) patches to introduce the targets
'regress' and 'testbox' into the FreeBSD buildtree, as well as for
doing limited builds (building just parts of the tree, but from all
over it).

'regress' is propagated around the source tree, to allow regression
tests to be done in place.  It comes with an 'LKM' config file for a
minimal kernel working with the LKMs, and a system link test for the
LKMs.  The target assumes the buildtree is already in place.

'testbox' builds a testbox from scratch.  It wipes ${TESTDEVICE},
creates a disklabel (with a single filesystem and a swap partition of
configurable size), and installs everything necessary to run the
machine in a minimal configuration.  I use this for doing destructive
tests - I just hotswap a harddrive on the unused IDE-bus, wipe it, and
boot it in a scratchbox.  The target assumes the buildtree is already
in place.

The limited build patches create a separate directory tree that can be
used to limit the SUBDIR variable.  A 'logical and' is done between
the SUBDIR variable and a config file in the corresponding config file
in the limitations tree.


All of the above patches are part of my personal FreeBSD-hacking-kit.
I can make them ready for prime time with relatively little work, and
I think they could be useful to other people, too.  Any objections to
introducing them?

Eivind.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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