From mboxrd@z Thu Jan 1 00:00:00 1970 From: dhylands@gmail.com (Dave Hylands) Date: Tue, 8 May 2012 07:23:46 -0700 Subject: standard way to extract kernel headers In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hi Jung-joon Kim, On Tue, May 8, 2012 at 12:06 AM, Jung-joon Kim 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