DragonFly BSD
DragonFly bugs List (threaded) for 2004-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: question regarding kernel building framework


From: Chris Pressey <cpressey@xxxxxxxxxxxxxxx>
Date: Sun, 11 Apr 2004 15:26:53 -0700

On Mon, 5 Apr 2004 09:56:48 -0700 (PDT)
Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]