From: Michal Marek <mmarek@suse.cz>
To: Tino Mettler <tino.mettler@alcnetworx.de>
Cc: linux-kbuild@vger.kernel.org
Subject: Re: out-of-tree build with external module
Date: Thu, 19 Nov 2015 11:29:35 +0100 [thread overview]
Message-ID: <564DA48F.8040301@suse.cz> (raw)
In-Reply-To: <1447858006.4104.38.camel@alcnetworx.de>
On 2015-11-18 15:46, Tino Mettler wrote:
> Hi,
>
> I want to build an external module out-of-tree. I tried this:
>
> make -C <kernel-source> KBUILD_OUTPUT=<out-of-tree-path> M=<external-module> modules
>
> However, the result is put to the source path specified by M=, whereas a
> normal kernel build (without M=) but otherwise same parameters puts the
> result to <out-of-tree-path>.
The combination of M= and O= is not supported by kbuild.
Michal
prev parent reply other threads:[~2015-11-19 10:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-18 14:46 out-of-tree build with external module Tino Mettler
2015-11-18 20:22 ` dvomlehn
2015-11-19 10:29 ` Michal Marek [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=564DA48F.8040301@suse.cz \
--to=mmarek@suse.cz \
--cc=linux-kbuild@vger.kernel.org \
--cc=tino.mettler@alcnetworx.de \
/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).