diff options
| author | apb <apb@NetBSD.org> | 2009-04-23 09:37:03 +0000 |
|---|---|---|
| committer | apb <apb@NetBSD.org> | 2009-04-23 09:37:03 +0000 |
| commit | 3ae1376a234e3e0bf8aa710ec6aeb6d57f4f25be (patch) | |
| tree | b6d534a633a5a59ac72de1122dc9497d31a45f5c /sys/dev/microcode/isp | |
| parent | 9d84a95580bc51788b196c54014dc8c8181a2f20 (diff) | |
Clean up the handling of METALOG.sanitised:
* Don't change METALOG in place while creating METALOG.sanitised in the
sanitise_METALOG target. This makes it easier to manually inspect
METALOG to find the order in which lines were added during a build.
* Add a clean_METALOG target, to be invoked from src/Makefile early in
the build, to prevent unbounded growth of METALOG during multiple
MKUPDATE builds.
* Remove the old hack of incorporating etc/mtree/NetBSD.dist into
METALOG.sanitised. It was needed only during a short transition
period when people might have done MKUPDATE builds starting from
existing DESTDIR and OBJDIR trees that had been created before
revision 1.317 of src/etc/Makefile.
* Since etc/mtree/NetBSD.dist is no longer added, there's will not
be any "optional" lines, so there's no need to filter them from
METALOG.sanitised.
* There's no need for two different METALOG.unpriv and
METALOG.sanitised.unpriv variables; combine them into a single
METALOG.unpriv variable whose value is "-M ${METALOG}.sanitised".
* Reorder some lines in the Makefile, to bring related targets,
variables and comments together.
Diffstat (limited to 'sys/dev/microcode/isp')
0 files changed, 0 insertions, 0 deletions
