summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-11-10 02:34:38 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2024-11-28 00:11:55 +0100
commita2a45ebee0969b804b1d474a930001a83c954140 (patch)
treeb2933b6138a92c5e2745be0a81e8445d5ffe6d3b /scripts
parentkbuild: use absolute path in the generated wrapper Makefile (diff)
downloadlinux-a2a45ebee0969b804b1d474a930001a83c954140.tar.xz
linux-a2a45ebee0969b804b1d474a930001a83c954140.zip
kbuild: make wrapper Makefile more convenient for external modules
When Kbuild starts building in a separate output directory, it generates a wrapper Makefile, allowing you to invoke 'make' from the output directory. This commit makes it more convenient, so you can invoke 'make' without M= or MO=. First, you need to build external modules in a separate directory: $ make M=/path/to/module/source/dir MO=/path/to/module/build/dir Once the wrapper Makefile is generated in /path/to/module/build/dir, you can proceed as follows: $ cd /path/to/module/build/dir $ make Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions