On Mon, Aug 16, 2010 at 02:23:28PM +0200, Michal Marek wrote: > Dne 16.8.2010 13:57, Michal Marek napsal(a): > > Dne 16.8.2010 06:54, Arnaud Lacombe napsal(a): > >> - sym = sym_lookup("KERNELVERSION", 0); > >> + sym = sym_lookup("PROJECTVERSION", 0); > > > > The required change to the top-level Makefile is missing. I suggest you > > rather replace "KERNELVERSION" with a macro defaulting to > > "KERNELVERSION", so that we don't have to change it in the Makefile and > > other scripts. > > 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. I would be glad to receive your opinion on the suggested changes before putting too much time on it. Note: I have not touced upon the "how do external projects build kconfig". I dunno yet what to do there and I consider the other topics more relevant as this will help existing users that have already solved the build stuff. Sam -- 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