* How to get kernel header from my kernel source tree?
@ 2015-04-27 9:40 tianlilai
2015-04-27 10:03 ` Ricardo Ribalda Delgado
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: tianlilai @ 2015-04-27 9:40 UTC (permalink / raw)
To: kernelnewbies
Hi,Everyone:
I have updated the kernel from v2.6.32 to v2.6.36 using my kernel source
tree(v2.6.36). so I must provide the new kernel header to the
developers of the device driver. How can I get the kernel header from my
kernel source tree which the version is v2.6.36?
Thanks very much!
^ permalink raw reply [flat|nested] 4+ messages in thread* How to get kernel header from my kernel source tree?
2015-04-27 9:40 How to get kernel header from my kernel source tree? tianlilai
@ 2015-04-27 10:03 ` Ricardo Ribalda Delgado
2015-04-27 12:53 ` Greg KH
2015-04-27 14:09 ` Valdis.Kletnieks at vt.edu
2 siblings, 0 replies; 4+ messages in thread
From: Ricardo Ribalda Delgado @ 2015-04-27 10:03 UTC (permalink / raw)
To: kernelnewbies
make help
make headers_install
On Mon, Apr 27, 2015 at 11:40 AM, tianlilai <laitianli2015@outlook.com> wrote:
> Hi,Everyone:
> I have updated the kernel from v2.6.32 to v2.6.36 using my kernel source
> tree(v2.6.36). so I must provide the new kernel header to the
> developers of the device driver. How can I get the kernel header from my
> kernel source tree which the version is v2.6.36?
>
> Thanks very much!
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
--
Ricardo Ribalda
^ permalink raw reply [flat|nested] 4+ messages in thread
* How to get kernel header from my kernel source tree?
2015-04-27 9:40 How to get kernel header from my kernel source tree? tianlilai
2015-04-27 10:03 ` Ricardo Ribalda Delgado
@ 2015-04-27 12:53 ` Greg KH
2015-04-27 14:09 ` Valdis.Kletnieks at vt.edu
2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2015-04-27 12:53 UTC (permalink / raw)
To: kernelnewbies
On Mon, Apr 27, 2015 at 05:40:11PM +0800, tianlilai wrote:
> Hi,Everyone:
> I have updated the kernel from v2.6.32 to v2.6.36 using my kernel source
> tree(v2.6.36). so I must provide the new kernel header to the
> developers of the device driver. How can I get the kernel header from my
> kernel source tree which the version is v2.6.36?
What "device driver developers"? A Linux kernel driver is part of the
whole kernel image, you can't provide just header files to them, that
will not work at all as they can't build something that way, they need
the whole kernel source tree.
And 2.6.36 is very old, please just download the latest kernel release
from kernel.org and point the developers at that as well.
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* How to get kernel header from my kernel source tree?
2015-04-27 9:40 How to get kernel header from my kernel source tree? tianlilai
2015-04-27 10:03 ` Ricardo Ribalda Delgado
2015-04-27 12:53 ` Greg KH
@ 2015-04-27 14:09 ` Valdis.Kletnieks at vt.edu
2 siblings, 0 replies; 4+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2015-04-27 14:09 UTC (permalink / raw)
To: kernelnewbies
On Mon, 27 Apr 2015 17:40:11 +0800, tianlilai said:
> Hi,Everyone:
> I have updated the kernel from v2.6.32 to v2.6.36
Do yourself and your developers a great service, and do the
following:
1) Upgrade to v4.0 (recently released). 2.6.36 is almost 5 years old.
2) Get your driver module in-tree. This has several benefits:
a) You don't have to worry anymore about figuring out what kernel
APIs changed when you upgrade kernels - the person who changed the API
will fix your code for you.
b) You can get out of the software distribution business totally. Just
ship the device, put a "Works with Linux 4.1 and later!" on the box, and
you don't need to worry about providing the driver, the user will get it
from their Linux distributor.
c) I'm sure Greg KH has a few other good reasons I can't remember because
I haven't had my morning caffeine.
Greg KH is the person to talk to about how to get your driver in-tree....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150427/479648da/attachment-0001.bin
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-04-27 14:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-27 9:40 How to get kernel header from my kernel source tree? tianlilai
2015-04-27 10:03 ` Ricardo Ribalda Delgado
2015-04-27 12:53 ` Greg KH
2015-04-27 14:09 ` Valdis.Kletnieks at vt.edu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).