standard way to extract kernel headers
I want to extract kernel header files from our kernel sources for kernel module developers. Currently, I copy following files manually. kernel_sources/Makefile kernel_sources/arch/[our-arch]/* kernel_sources/include/* kernel_sources/scripts/* (optional) kernel_sources/.config kernel_sources/Module.symvers Is there any standard/automatic/easy way to do this? Expecting some scripts exist to make packages like linux-headers-....deb/rpm in linux distributions, but cannot find yet. Best regards, Jung-joon Kim
Jung-joon Kim <jungjoon@gmail.com> writes:
I want to extract kernel header files from our kernel sources for kernel module developers.
Sounds like you are doing something very very wrong, but who am I to judge?
Expecting some scripts exist to make packages like linux-headers-....deb/rpm in linux distributions, but cannot find yet.
Take a look in scripts/package/ in the kernel sources. Bjørn
Hi Jung-joon Kim, On Tue, May 8, 2012 at 12:06 AM, Jung-joon Kim <jungjoon@gmail.com> wrote:
I want to extract kernel header files from our kernel sources for kernel module developers. Currently, I copy following files manually.
kernel_sources/Makefile kernel_sources/arch/[our-arch]/* kernel_sources/include/* kernel_sources/scripts/* (optional) kernel_sources/.config kernel_sources/Module.symvers
Is there any standard/automatic/easy way to do this? Expecting some scripts exist to make packages like linux-headers-....deb/rpm in linux distributions, but cannot find yet.
You may wish to read through: http://lxr.linux.no/#linux+v3.3.5/Documentation/make/headers_install.txt -- Dave Hylands Shuswap, BC, Canada http://www.davehylands.com
participants (3)
-
Bjørn Mork -
Dave Hylands -
Jung-joon Kim