diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-05-11 12:50:13 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-05-26 00:03:16 +0900 |
commit | 121c2a137767df5f9f301795e7d3757d1af04b21 (patch) | |
tree | a50e6a717fe79f686369c0fe861007ee1693efda /scripts/bin2c.c | |
parent | 93fdddfefc831981c8cffc3db90275e9b1d8a0e5 (diff) | |
download | lwn-121c2a137767df5f9f301795e7d3757d1af04b21.tar.gz lwn-121c2a137767df5f9f301795e7d3757d1af04b21.zip |
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/bin2c.c')
0 files changed, 0 insertions, 0 deletions