Re: BK and 'make distclean'

From: Sam Ravnborg
Date: Mon Jun 21 2004 - 17:02:44 EST


On Mon, Jun 21, 2004 at 11:37:08AM -0400, Jeff Garzik wrote:
> It appears we have a conflict between what BitKeeper thinks is a source
> file, and what kbuild thinks is a source file:
>
> [jgarzik@sata linux-2.6]$ bk -r co -Sq
> [jgarzik@sata linux-2.6]$ make distclean
> CLEAN scripts/package
> [jgarzik@sata linux-2.6]$ bk -r co -Sq
> [jgarzik@sata linux-2.6]$ make distclean
> CLEAN scripts/package

It happens because I used 'clean-rule' in the package makefile.
The problem is that I need to delete files at the root of the kernel src tree,
and usually kbuild add the $(obj)/ prefix.

So when we visit package/ the clean-rule is not empty and get executed.

I will fix tomorrow. Just need to add a simple existence check
before assigning 'clean-rule'.


Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/