Re: How to retrieve version from kernel source (the right way)?

From: Sam Ravnborg
Date: Thu Feb 10 2005 - 13:42:44 EST


On Thu, Feb 10, 2005 at 08:06:34AM +0100, Michael Renzmann wrote:
> Hi.
>
> Sam Ravnborg wrote:
> >>But... what is the right way to do this?
> >I think you are looking for:
> >make kernelrelease
>
> otaku@gimli linux-2.6.10 $ make kernelrelease
> make: *** No rule to make target `kernelrelease'. Stop.
> otaku@gimli linux-2.6.10 $ cd ..
> otaku@gimli src $ cd linux-2.4.28
> otaku@gimli linux-2.4.28 $ make kernelrelease
> make: *** No rule to make target `kernelrelease'. Stop.
> otaku@gimli linux-2.4.28 $
>
> I don't think this will help.
>
> Including the kernel's Makefile also is no option, I think ("rulespace
> pollution").

I works with the 2.6 kernel.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/