diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-07-18 03:28:19 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-07-20 16:33:45 +0900 |
commit | 6e6ef2da3a28f3e02fd204b4f8821030b61f8cd4 (patch) | |
tree | bfd2b21c506c4ffedb2a5d35b08869917a9a3c37 /scripts/make_fit.py | |
parent | 44ad2814ca58fc43ab473d8fbb3b46a2b39a0392 (diff) |
Makefile: add comment to discourage tools/* addition for kernel builds
Kbuild provides scripts/Makefile.host to build host programs used for
building the kernel. Unfortunately, there are two exceptions that opt
out of Kbuild. The build system under tools/ is a cheesy replica, and
cause issues. I was recently poked about a problem in the tools build
system, which I do not maintain (and nobody maintains). [1]
Without a comment, people might believe this is the right location
because that is where objtool lives, even if a more robust Kbuild
syntax satisfies their needs. [2]
[1]: https://lore.kernel.org/linux-kbuild/ZnIYWBgrJ-IJtqK8@google.com/T/#m8ece130dd0e23c6f2395ed89070161948dee8457
[2]: https://lore.kernel.org/all/20240618200501.GA1611012@google.com/
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Nicolas Schier <nicolas@fjasle.eu>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Diffstat (limited to 'scripts/make_fit.py')
0 files changed, 0 insertions, 0 deletions