Hi Linus, Updated series to fix various kbuild parts to deal with a two-number kernel versions. I'll send you a pull request once git.kernel.org is up to date. Changes since v1: - Also support single-number kernel versions, just for fun. - Moved the depmod stuff to scripts/depmod.sh to keep the Makefile tidy - Check if the depmod hack is actually needed, as we have a fixed module-init-tools since last week. Michal Michal Marek (5): kbuild: Fix KERNELVERSION for empty SUBLEVEL or PATCHLEVEL kbuild: Fix <linux/version.h> for empty SUBLEVEL or PATCHLEVEL kbuild: Move depmod call to a separate script kbuild: Hack for depmod not handling X.Y versions perf: Use make kernelversion instead of parsing the Makefile Makefile | 16 ++---------- scripts/depmod.sh | 48 ++++++++++++++++++++++++++++++++++++++ tools/perf/util/PERF-VERSION-GEN | 7 +---- 3 files changed, 52 insertions(+), 19 deletions(-) create mode 100755 scripts/depmod.sh -- 1.7.4.2 -- 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