standard way to extract kernel headers

Dave Hylands dhylands at gmail.com
Tue May 8 10:23:46 EDT 2012


Hi Jung-joon Kim,

On Tue, May 8, 2012 at 12:06 AM, Jung-joon Kim <jungjoon at 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



More information about the Kernelnewbies mailing list