Messages in this thread |  | | | Date | Thu, 10 Feb 2005 20:07:34 +0100 | | From | Michael Renzmann <> | | Subject | Re: How to retrieve version from kernel source (the right way)? |
| |
Hi.
Sam Ravnborg wrote: >>otaku@gimli linux-2.6.10 $ make kernelrelease >>make: *** No rule to make target `kernelrelease'. Stop. > I works with the 2.6 kernel.
As Andreas Gruenbacher pointed out, this feature has been implemented just about 8 weeks ago. He also gave the following snippet as a backward compatible solution:
=== cut === echo -e 'foo:\n\t@echo $(KERNELRELEASE)\ninclude Makefile' \ | make -f- === cut === This works fine.
Thanks to everyone for your tips and answers.
Bye, Mike - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |