diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-05-11 06:50:13 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-05-25 18:03:16 +0300 |
commit | 121c2a137767df5f9f301795e7d3757d1af04b21 (patch) | |
tree | a50e6a717fe79f686369c0fe861007ee1693efda /scripts/modules-check.sh | |
parent | 93fdddfefc831981c8cffc3db90275e9b1d8a0e5 (diff) | |
download | linux-121c2a137767df5f9f301795e7d3757d1af04b21.tar.xz |
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: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/modules-check.sh')
0 files changed, 0 insertions, 0 deletions