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

Yann E. MORIN yann.morin.1998 at anciens.enib.fr
Wed Sep 6 17:00:37 UTC 2006


On Wednesday 06 September 2006 184, 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

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).

Sorry, I have no time to check if this work for uClibc, but I'm using it
when compiling out-of-tree drivers.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< °_° >==-- °------------.-------:  X  AGAINST      |  /e\  There is no  |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL    |  """  conspiracy.  |
°------------------------------°-------°------------------°--------------------°



More information about the uClibc mailing list