[oe-users] Customizing the kernel

Oleg V. Kobrin kit at 4me.ru
Sat Dec 22 11:19:57 UTC 2007


I'm using "bitbake -i" in the same case, and then "configure virtual/kernel"
at bitbake prompt, an then "build virtual/kernel", for compiling and
deploying it.

2007/12/22, Tim , <liststim at gmail.com>:
>
> 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
>
>
>
>
> _______________________________________________
> Openembedded-users mailing list
> Openembedded-users at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-users
>
>


-- 
_____________
Oleg V. Kobrin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20071222/c9780f98/attachment-0002.html>


More information about the Openembedded-users mailing list