Newbie - Help compiling kernel modules

Andy Green andy at openmoko.com
Wed Mar 4 09:47:24 CET 2009


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

Somebody in the thread at some point said:

| It's complaining that the kernel has not been configured. However, I've
| copied the gta02_moredrivers_defconfig
| file to GTA02 and to linux-2.6 directory. Do I need to do anything else?
| Is there someway that I can generate
| or copy autoconf.h from somewhere?

For a while we build our kernel objects into separate subdir, in the
build script we use like O=GTA02 on the makefile line.  I guess it's
that which is messing things up, because it's true there are no
generated files stored in the toplevel kernel directory any more.

Try meddling appending GTA02 to the paths on your module make line.

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

iEYEARECAAYFAkmuQBwACgkQOjLpvpq7dMqaRwCeO3XJsQv14He+vsVoojwtTHT9
CXUAn1Giia8IktRScwFf/C0wavJmKp21
=ld9A
-----END PGP SIGNATURE-----



More information about the devel mailing list