On Thu, May 24, 2007 at 02:21:26PM -0700, Andrew Morton wrote: > > It's not a matter of when it's evaluated. The user is supposed to be > able to set EXTRA_CFLAGS on the command-line, yes? If they do that then > the "=" in there will rub out their efforts. The makefiles should be > appending new things to EXTRA_CFLAGS, rather than doing a replacement?
There is no way to specify additional CFLAGS on the commandline today. For sparse we took the shorthand CF so you can do: make C=2 CF=-warn-bitwise But we have no such thing for CFLAGS. If there is a real need I can cook up something. But frankly I have alway edited top-level Makefile and be doen with it. I will fix it so Kbuild do not barf out if you set EXTRA_* on the commandline but silently ignore it instead. Sam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/