kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: dhylands@gmail.com (Dave Hylands)
To: kernelnewbies@lists.kernelnewbies.org
Subject: standard way to extract kernel headers
Date: Tue, 8 May 2012 07:23:46 -0700	[thread overview]
Message-ID: <CABi1daEcBGR9CHc4jCa+1UM+oKsmvnwXAy1w=ewONqEherSMCQ@mail.gmail.com> (raw)
In-Reply-To: <CADLWKEvQ+4vvPS=X1V+fyq4G3m+gWEJ37MzEBP869MDh4YMYZw@mail.gmail.com>

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

      parent reply	other threads:[~2012-05-08 14:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABi1daEcBGR9CHc4jCa+1UM+oKsmvnwXAy1w=ewONqEherSMCQ@mail.gmail.com' \
    --to=dhylands@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).