On 02/23/2014 01:55 PM, Josh Triplett wrote: > > Why have the build system waste time building several things that won't > be used? It seems like the Makefiles are exactly where we *should* have > the ifdef machinery, rather than in source. I'd happily add another > ifdef in the Makefile rule that builds cpustr.h, to generate a stub > cpustr.h header, and then remove one more ifdef in the source. >
The ifdeffery in the Makefiles really tend to be more complicated than in the source code. The amount of code added from v2 to v3 when it could be handled by *removing* two lines in the Makefile makes it worth it. If it was enough build stuff to be anywhere near remotely significant it would be one thing. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/