Dne 16.8.2010 19:26, Sam Ravnborg napsal(a): > On Mon, Aug 16, 2010 at 02:23:28PM +0200, Michal Marek wrote: >> Maybe a cleaner way would be to use the same syntax as for >> DEFCONFIG_LIST or MODULES, i.e. mark KERNELVERSION specially in the >> Kconfig file: >> >> config KERNELVERSION >> string >> option version env= >> >> and then look for a symbol with this property in kconfig. > > I liked my proposal better - but alas that require some kconfig changes. Support for 'option version' would also require some kconfig changes. > I would be glad to receive your opinion on the suggested changes before > putting too much time on it. I'm all for rephrasing the texts to not mention "kernel" explicitly. As for how to tackle the KERNELVERSION symbol - I have no strong opinion either way. Both approaches would move the knowledge about the exact symbol name to the Kconfig files, which is good. And the version string is only used in titlebars and banners, so kconfig does not need to know the value. I'd leave it up to Arnaud, whichever he finds easier to implement :-). Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html