question regarding kernel building framework
Chris Pressey
cpressey at catseye.mine.nu
Sun Apr 11 15:21:08 PDT 2004
On Mon, 5 Apr 2004 09:56:48 -0700 (PDT)
Matthew Dillon <dillon at xxxxxxxxxxxxxxxxxxxx> wrote:
> :But if I do a 'make clean' from /usr/src/sys, those symlinks
> :[in /usr/src/sys/vfs/fifofs] aren't removed.
> :-Chris
>
> Sounds like a bug. If you have time to investigate further that
> would help.
Perhaps not so much a bug as a POLA violation. I found two ways to
clean up src/sys/vfs:
1. make mclean (from src/sys only)
There's a note about this in the Makefile, though:
"XXX this may be temporary, should the module build be incorporated into
the default build (make the SUBDIR additions above non-conditional)?"
2. make MODULES_WITH_WORLD=yes clean (from src/sys or src)
Assuming this is a POLA violation, here is a patch to make 'make clean'
always clean up all of the sys subtree. But making the SUBDIR additions
non-conditional (as suggested by the XXX comment) would achieve the same
effect, so if we're going down that path, just ignore this patch.
http://catseye.webhop.net/DragonFlyBSD/patch/sys_Makefile.diff
-Chris
More information about the Bugs
mailing list