standard way to extract kernel headers

Jung-joon Kim jungjoon at gmail.com
Tue May 8 03:06:29 EDT 2012


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



More information about the Kernelnewbies mailing list