Skip to content
Snippets Groups Projects
Commit 121c2a13 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: error out if targets prefixed with '__' are directly run


Some targets are internal-use only.

It is tedious to care about "what if __build_one_by_one is contained
in $(MAKECMDGOALS)?" etc.

Prefix internal targets with double underscores. Stop parsing Makefile
if they are directly run.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 93fdddfe
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment