[oe-users] Customizing the kernel
Tim ,
liststim at gmail.com
Fri Dec 21 23:02:55 UTC 2007
I was trying to add a few drivers (ftdi_sio and dependencies) as
kernel modules by defining them in the defconfig file under the
packages/linux/em-x270-2.6.23 directory. (e.g. adding lines like
CONFIG_USB_SERIAL_FTD_SIO=m).
I see that when I used bitbake to rebuild the kernel, the defconfig
file is copied in as the .config file for the kernel, but then a 'make
oldconfig' is done and a bunch of the modules that I added were left
out.
Just as a sanity check, I manually edited the kernel makefiles to see
if the drivers would build. I did get the modules built this way and
was able to load them on my device.
It would be much preferred if I could customize the kernel using the
intended method in OpenEmbedded. I didn't find anything about this on
the wiki, so I'd be glad to add it once I figure out the process.
Did I take the wrong approach by modifying the kernel package's
defconfig file? If not, does anybody have suggestions as to where I
can look to investigate this further?
[Slightly off-topic: I wanted to find out exactly what 'make oldconfig'
did to see why it could be removing those modules from the .config
file but was unable to find anything on the web or by sifting through
the kernel's Makefiles. Does anybody happen to have more information
on this? ]
Thanks,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20071221/ef83333d/attachment-0002.html>
More information about the Openembedded-users
mailing list