On Tue, 17 Oct 2006, Junio C Hamano wrote:I'm not convinced that is enough. You need to make the individual xdiff/*.c files depend on the xdiff/*.h files, because otherwise it will think that the *.o files are up-to-date and just re-link the archive. The kernel does automatic dependency generation for all the *.c files, and it's _really_ nice. Having to do dependencies by hand is just always going to suck. But the kernel can depend on more things (in particular, the kernel can depend on gcc, and use things like "-MD,$(depfile)" to generate lists of dependencies while building, so that any object file _always_ has the things it depended upn explicitly listed). But in the absense of those kinds of really clever and powerful tricks, it might be worthwhile to even just have a "mkdepend" scrupt thing and include the end result into the Makefile (we do already depend on GNU make). That would allow us to get the real dependencies (and minimal! right now we sometimes compile too _much_ just because some of our dependencies are so screwed up and lazy). Linus - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Ingo Molnar | Re: containers (was Re: -mm merge plans for 2.6.23) |
| Greg Kroah-Hartman | [PATCH 009/196] Chinese: add translation of sparse.txt |
| holzheu | Re: [RFC/PATCH] Documentation of kernel messages |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | [GIT]: Networking |
| Antonio Almeida | HTB accuracy for high speed |
