]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - Makefile
kbuild: error out if targets prefixed with '__' are directly run
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 11 May 2020 03:50:13 +0000 (12:50 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 25 May 2020 15:03:16 +0000 (00:03 +0900)
commit121c2a137767df5f9f301795e7d3757d1af04b21
treea50e6a717fe79f686369c0fe861007ee1693efda
parent93fdddfefc831981c8cffc3db90275e9b1d8a0e5
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>
Makefile