linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* out-of-tree build with external module
@ 2015-11-18 14:46 Tino Mettler
  2015-11-18 20:22 ` dvomlehn
  2015-11-19 10:29 ` Michal Marek
  0 siblings, 2 replies; 3+ messages in thread
From: Tino Mettler @ 2015-11-18 14:46 UTC (permalink / raw)
  To: linux-kbuild

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>.

Any hints what I'm doing wrong?

Regards,
Tino



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

end of thread, other threads:[~2015-11-19 10:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).