Another Question - Kernel Headers

Andy Green andy at openmoko.com
Sun Jul 20 20:37:39 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:

| When running an SD card install of Debian on the FR, using the
git.openmoko

First, WHOO I love the idea of another distro not coming out of Open
Embedded.  Please let us know how it's going or if you are sending out
any images for other folks to try.

| kernel... when i need the kernel headers to compile a module / driver
on the
| device, how can I do so?

I don't know if OE / OM generate a packaged one, but it's OK you can
take on generating them.

clone the Openmoko kernel git tree following instructions here

http://git.openmoko.org/?p=kernel.git;a=summary

~ cp defconfig-2.6.24 .config

then run the

~ ./build

script after setting your toolchain path in that script.

Making the kernel headers from a kernel tree is really simple, you just go

~ make ARCH=arm headers_install

and they can be found in ./usr/include

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkiDhesACgkQOjLpvpq7dMo5lQCdGZbMWGCFT1x79My63H94wTcc
afoAnjtwa5QWSvAIMf+kzAiWxwOBARKJ
=x5ux
-----END PGP SIGNATURE-----




More information about the community mailing list