How to get kernel header from my kernel source tree?
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!
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@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Ricardo Ribalda
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
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....
participants (4)
-
Greg KH -
Ricardo Ribalda Delgado -
tianlilai -
Valdis.Kletnieks@vt.edu