kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* standard way to extract kernel headers
@ 2012-05-08  7:06 Jung-joon Kim
  2012-05-08  7:18 ` Bjørn Mork
  2012-05-08 14:23 ` Dave Hylands
  0 siblings, 2 replies; 3+ messages in thread
From: Jung-joon Kim @ 2012-05-08  7:06 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* standard way to extract kernel headers
  2012-05-08  7:06 standard way to extract kernel headers Jung-joon Kim
@ 2012-05-08  7:18 ` Bjørn Mork
  2012-05-08 14:23 ` Dave Hylands
  1 sibling, 0 replies; 3+ messages in thread
From: Bjørn Mork @ 2012-05-08  7:18 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* standard way to extract kernel headers
  2012-05-08  7:06 standard way to extract kernel headers Jung-joon Kim
  2012-05-08  7:18 ` Bjørn Mork
@ 2012-05-08 14:23 ` Dave Hylands
  1 sibling, 0 replies; 3+ messages in thread
From: Dave Hylands @ 2012-05-08 14:23 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-08 14:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-08  7:06 standard way to extract kernel headers Jung-joon Kim
2012-05-08  7:18 ` Bjørn Mork
2012-05-08 14:23 ` Dave Hylands

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).