From: Michal Marek on 8 Mar 2010 10:10 On 5.3.2010 20:43, Paul E. McKenney wrote: > This patch appends the localversion string to the Linux kernel version. > For example, in a git tree with uncommitted changes, the .config file > might start as follows (but with leading hash marks): > > Automatically generated make config: don't edit > Linux kernel version: 2.6.33-01836-g90a6501-dirty > Mon Mar 1 17:05:59 2010 > > The "-01836-g90a6501-dirty" string is added by this patch. kbuild in linux-next already has commit 85a256d8e0116c8f5ad276730830f5d4d473344d Author: David Rientjes <rientjes(a)google.com> Date: Wed Jan 13 13:01:05 2010 -0800 kbuild: improve version string logic which results in a scripts/setlocalversion call during each build. And with CONFIG_LOCALVERSION_AUTO, it stores exactly the string you want in include/config/kernel.release. So we could change kconfig to read that file instead of building the version string again. To also cover the !CONFIG_LOCALVERSION_AUTO case, we can add a include/config/kernel.release.full file to hold the full string each time. Sorry for jumping in so late in the discussion, I had a bit of backlog in mail directed to me and linux-kbuild(a)vger.kernel.org, let alone LKML ;). Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: [PATCH] FS-Cache: Remove the EXPERIMENTAL flag Next: workqueue changes for 2.6.34-rc1 |