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