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

Erik Andersen andersen at codepoet.org
Sun Sep 10 04:19:22 UTC 2006

On Sat Sep 09, 2006 at 06:41:39PM -0400, Mike Frysinger wrote:
> On Wednesday 06 September 2006 12:48, Atsushi Nemoto wrote:
> > The linux/version.h in 2.6.18 kernel does not contain UTS_RELEASE.
> > UTS_RELEASE was moved to new linux/utsrelease.h file and the file is
> > not exported by "make headers_install".  Use LINUX_VERSION_CODE for
> > fallback.
> here's a better question ... why do we even care what kernel version we are 
> running our script on ?
> the script uses those version values for two things:
>  - print out a pretty little message about the kernel version
>  - a simple check for include/asm-generic which can just be dropped

Doh!  You are absolutely right -- an excellent point.  Lets kill
the version checking stuff entirely and copy include/asm-generic
iff it happens to be present.


Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20060909/075c1f72/attachment-0002.pgp 

More information about the uClibc mailing list