linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michal Marek <mmarek@suse.com>
To: Daniel Baluta <daniel.baluta@intel.com>
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
	octavian.purdila@intel.com, bogdan.m.davidoaia@intel.com
Subject: Re: [PATCH] scripts: Extract kernel headers for out of tree modules build
Date: Wed, 19 Aug 2015 14:50:44 +0200	[thread overview]
Message-ID: <55D47BA4.4040601@suse.com> (raw)
In-Reply-To: <1439967036-18297-1-git-send-email-daniel.baluta@intel.com>

On 2015-08-19 08:50, Daniel Baluta wrote:
> scripts/package/builddeb already creates a linux-keader .deb
> package, but we need this feature also for non-Debian distros
> (e.g. Android or LFS).

Kbuild supports building out-of-tree modules by providing the
/lib/modules/*/build and /lib/modules/*/source symlinks, pointing to the
whole build/source trees. IMO, an optimization like your script should
remain part of the distro packaging, which also takes care of the symlinks.

Michal

  reply	other threads:[~2015-08-19 12:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-19  6:50 [PATCH] scripts: Extract kernel headers for out of tree modules build Daniel Baluta
2015-08-19 12:50 ` Michal Marek [this message]
2015-08-19 19:09 ` Ken Moffat
2015-08-20  9:56   ` Daniel Baluta

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=55D47BA4.4040601@suse.com \
    --to=mmarek@suse.com \
    --cc=bogdan.m.davidoaia@intel.com \
    --cc=daniel.baluta@intel.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=octavian.purdila@intel.com \
    /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).