public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* BK and 'make distclean'
@ 2004-06-21 15:37 Jeff Garzik
  2004-06-21 22:12 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Garzik @ 2004-06-21 15:37 UTC (permalink / raw)
  To: Linus Torvalds, Sam Ravnborg; +Cc: Linux Kernel

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

What info can I provide to help debug this?

	Jeff



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: BK and 'make distclean'
  2004-06-21 15:37 BK and 'make distclean' Jeff Garzik
@ 2004-06-21 22:12 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2004-06-21 22:12 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Linus Torvalds, Sam Ravnborg, Linux Kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-21 22:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-21 15:37 BK and 'make distclean' Jeff Garzik
2004-06-21 22:12 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox