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

2005-02-10 Thread Michael Renzmann
Hi. Sam Ravnborg wrote: [EMAIL PROTECTED] 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

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

2005-02-10 Thread Sam Ravnborg
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 > > [EMAIL PROTECTED] linux-2.6.10 $ make kernelrelease > make: *** No rule to make target

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

2005-02-10 Thread Michael Renzmann
Hi. Andreas Gruenbacher wrote: A backward-compatible replacement for the new kernelrelease (which was added only 8 weeks ago) rule is: echo -e 'foo:[EMAIL PROTECTED] $(KERNELRELEASE)\ninclude Makefile' \ | make -f- Thanks a lot, that works great! Bye, Mike - To unsubscribe from this list:

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

2005-02-10 Thread Michael Renzmann
Hi. Andreas Gruenbacher wrote: A backward-compatible replacement for the new kernelrelease (which was added only 8 weeks ago) rule is: echo -e 'foo:[EMAIL PROTECTED] $(KERNELRELEASE)\ninclude Makefile' \ | make -f- Thanks a lot, that works great! Bye, Mike - To unsubscribe from this list:

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

2005-02-10 Thread Sam Ravnborg
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 [EMAIL PROTECTED] linux-2.6.10 $ make kernelrelease make: *** No rule to make target `kernelrelease'. Stop.

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

2005-02-10 Thread Michael Renzmann
Hi. Sam Ravnborg wrote: [EMAIL PROTECTED] 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

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

2005-02-09 Thread Michael Renzmann
Hi. Sam Ravnborg wrote: But... what is the right way to do this? I think you are looking for: make kernelrelease [EMAIL PROTECTED] linux-2.6.10 $ make kernelrelease make: *** No rule to make target `kernelrelease'. Stop. [EMAIL PROTECTED] linux-2.6.10 $ cd .. [EMAIL PROTECTED] src $ cd

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

2005-02-09 Thread Sam Ravnborg
> But... what is the right way to do this? I think you are looking for: make kernelrelease Sam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please

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

2005-02-09 Thread Christoph Hellwig
On Wed, Feb 09, 2005 at 09:17:35AM +0100, Michael Renzmann wrote: > Hi all. > > (Please CC: me, I'm not subscribed - although I'm following the list > through gmane.org) > > I'm working on Madwifi (a driver for wireless lan cards with Atheros > chipset), which isn't part of the kernel (and

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

2005-02-09 Thread Brice Goglin
Michael Renzmann a écrit : Then we started to grep VERSION, PATCHLEVEL, SUBLEVEL and EXTRAVERSION from the kernel's Makefile. This failed, since some distributors seem to use shell commands for at least one of those. Example from SuSE 9.1: === cut === VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 5

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

2005-02-09 Thread Michael Renzmann
Hi all. (Please CC: me, I'm not subscribed - although I'm following the list through gmane.org) I'm working on Madwifi (a driver for wireless lan cards with Atheros chipset), which isn't part of the kernel (and probably won't ever be due to the binary-only HAL). As every third-party device

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

2005-02-09 Thread Michael Renzmann
Hi all. (Please CC: me, I'm not subscribed - although I'm following the list through gmane.org) I'm working on Madwifi (a driver for wireless lan cards with Atheros chipset), which isn't part of the kernel (and probably won't ever be due to the binary-only HAL). As every third-party device

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

2005-02-09 Thread Brice Goglin
Michael Renzmann a écrit : Then we started to grep VERSION, PATCHLEVEL, SUBLEVEL and EXTRAVERSION from the kernel's Makefile. This failed, since some distributors seem to use shell commands for at least one of those. Example from SuSE 9.1: === cut === VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 5

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

2005-02-09 Thread Christoph Hellwig
On Wed, Feb 09, 2005 at 09:17:35AM +0100, Michael Renzmann wrote: Hi all. (Please CC: me, I'm not subscribed - although I'm following the list through gmane.org) I'm working on Madwifi (a driver for wireless lan cards with Atheros chipset), which isn't part of the kernel (and probably

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

2005-02-09 Thread Sam Ravnborg
But... what is the right way to do this? I think you are looking for: make kernelrelease Sam - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

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

2005-02-09 Thread Michael Renzmann
Hi. Sam Ravnborg wrote: But... what is the right way to do this? I think you are looking for: make kernelrelease [EMAIL PROTECTED] linux-2.6.10 $ make kernelrelease make: *** No rule to make target `kernelrelease'. Stop. [EMAIL PROTECTED] linux-2.6.10 $ cd .. [EMAIL PROTECTED] src $ cd