[yocto] How do I patch the kernel before it is built?

Joshua Lock josh at linux.intel.com
Tue Jan 31 08:51:01 PST 2012


On 31/01/12 08:45, autif khan wrote:
> I could not find a way to patch the kernel source before its is built.
>
> I promise to update the Yocto wiki's How do I section when I have a
> working solution for the following :-)
>
> Here is what I am trying to do:
>
> 1) Patch the kernel (add VID/PID to hid_ignore_list in
> drivers/hid/hid-core.c and also to add the VID/PID to .h file)

We have some documentation which covers this:
http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#dev-manual-kernel-appendix 


I'm not sure if it answers all of your questions, but hopefully it gets 
you closer.

Cheers,
Joshua
-- 
Joshua Lock
         Yocto Project "Johannes factotum"
         Intel Open Source Technology Centre



More information about the yocto mailing list