Hi,
for me it worked to generate version.h and utsrelease.h in include/linux
manually. Maybe you want to try it.

For 2.6.26.5 you'll need the following in version.h:
#define LINUX_VERSION_CODE 132634
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

(The LINUX_VERSION_CODE is calculated like this: $VERSION * 65536 + $PATCHLEVEL
* 256 + $SUBPATCHLEVEL (with $VERSION = 2, $PATCHLEVEL = 6, $SUBPATCHLEVEL =
26), see the top-level Makefile for more information).

utsrelease.h contains something like:
#define UTS_RELEASE "2.6.26.5[LOCAL VERSION STRING]"

(The [LOCAL VERSION STRING] is the part you can either set with the
CONFIG_LOCALVERSION option in the kernel configuration or by using
--append-to-version)

The above examples are for version 2.6.26.5, but it works for other kernel
versions too.
German speaking people might want to check my howto at [0].

Greetings,
Kai


[0] http://wiki.debianforum.de/DebianizedLinuxKernel



-- 

Kai Wasserbäch (Kai Wasserbaech)

E-Mail: [EMAIL PROTECTED]
Jabber (debianforum.de): Drizzt
URL: http://wiki.debianforum.de/Drizzt_Do%27Urden
GnuPG: 0xE1DE59D2      0600 96CE F3C8 E733 E5B6 1587 A309 D76C E1DE 59D2
(http://pgpkeys.pca.dfn.de/pks/lookup?search=0xE1DE59D2&fingerprint=on&hash=on&op=vindex)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to