All of lore.kernel.org
 help / color / mirror / Atom feed
* How do I patch the kernel before it is built?
@ 2012-01-31 16:45 autif khan
  2012-01-31 16:51 ` Joshua Lock
  2012-01-31 16:51 ` Bruce Ashfield
  0 siblings, 2 replies; 17+ messages in thread
From: autif khan @ 2012-01-31 16:45 UTC (permalink / raw)
  To: yocto

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)
2) Build the kernel - no change here - standard kernel build
3) Build a kernel module

I have a meta layer where I am keeping my changes. I am guessing that I need to:

a) write a bbappend file to accomplish #1
b) write a recipe to accomplish #3

I have written recipes before, but just for libraries and autotools
based applications. Not for a kernel module. If there is a recipe out
there for some other module, I would be happy to steal from it.

Please advise how I can go about patching the kernel and if there is a
recipe for a kernel module - please point me to it.

Thank you

Autif


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2012-02-09 14:40 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-31 16:45 How do I patch the kernel before it is built? autif khan
2012-01-31 16:51 ` Joshua Lock
2012-01-31 16:51 ` Bruce Ashfield
2012-01-31 16:54   ` Darren Hart
2012-02-06 19:35     ` autif khan
2012-02-06 19:39       ` Bruce Ashfield
2012-02-06 19:46       ` Bruce Ashfield
2012-02-06 20:18         ` autif khan
2012-02-06 20:24           ` Bruce Ashfield
2012-02-06 21:43             ` autif khan
2012-02-06 21:58               ` Bruce Ashfield
2012-02-06 22:10                 ` autif khan
2012-02-07  1:20                   ` Bruce Ashfield
2012-02-07  1:28                     ` Bruce Ashfield
2012-02-07 19:01                       ` autif khan
2012-02-08 15:31     ` autif khan
2012-02-09 14:39       ` Darren Hart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.