BK and 'make distclean'
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
Quoted 9 lines · Jeff Garzik
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