linux-stable/Documentation
Masahiro Yamada 11b3d5175e kbuild: support building external modules in a separate build directory
There has been a long-standing request to support building external
modules in a separate build directory.

This commit introduces a new environment variable, KBUILD_EXTMOD_OUTPUT,
and its shorthand Make variable, MO.

A simple usage:

 $ make -C <kernel-dir> M=<module-src-dir> MO=<module-build-dir>

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
2024-11-28 08:11:55 +09:00
..
2024-09-19 10:18:15 +02:00
2024-10-04 12:20:09 -07:00
2024-10-17 09:51:03 -07:00
2024-11-03 10:19:34 -10:00
2024-09-03 21:15:46 -07:00
2024-11-01 07:37:10 -10:00
2024-10-01 08:15:55 +10:00
2024-08-26 15:15:48 +02:00
2024-10-17 09:43:36 -07:00
2024-10-25 06:18:37 -07:00
2024-10-28 21:40:41 -07:00
2024-09-24 13:02:06 -07:00