[PATCH] fix fix_includes.sh for 2.6.18 kernel (resend)

Peter Kjellerstedt peter.kjellerstedt at axis.com
Thu Sep 7 08:01:20 UTC 2006


> -----Original Message-----
> From: uclibc-bounces at uclibc.org 
> [mailto:uclibc-bounces at uclibc.org] On Behalf Of Atsushi Nemoto
> Sent: Thursday, September 07, 2006 03:35
> To: yann.morin.1998 at anciens.enib.fr
> Cc: uclibc at uclibc.org
> Subject: Re: [PATCH] fix fix_includes.sh for 2.6.18 kernel (resend)
> 
> On Wed, 6 Sep 2006 19:00:37 +0200, "Yann E. MORIN" 
> <yann.morin.1998 at anciens.enib.fr> wrote:
> > Maybe we should use the .kernelrease file in the linux top 
> > build dir?
> > This file simply contains the kernel version, what used to 
> > be stored in UTS_RELEASE. It requires that the kernel has been 
> > configured AND prepared with at least "make prepare" (which 
> > should obviously be the case anyway as we're already using 
> > version.h which get created at that time).
> 
> Well, I think "make headers_install" is a way to go.  While "make
> headers_install" does not need "make config" or "make prepare", we
> should not depend on the .kernelrelease file.
> 
> ---
> Atsushi Nemoto

Couldn't you use "make -C $KERNEL_SOURCE kernelversion"?

//Peter



More information about the uClibc mailing list