kbuild: error out if $(INSTALL_MOD_PATH) contains % or :
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 14 Jul 2022 05:02:43 +0000 (14:02 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 27 Jul 2022 12:18:00 +0000 (21:18 +0900)
commit84850dbbbe60a75b27eb0f272fdbc28cfaae689b
treee510f94e8363abe380b0b23889211b83fd15ed41
parent9a68fd7fd8b05050b27ae67a829a2035b2b7a993
kbuild: error out if $(INSTALL_MOD_PATH) contains % or :

If the directory path given to INSTALL_MOD_PATH contains % or :,
the module_install fails.

% is used in pattern rules, and : as the separator of dependencies.

Bail out with a clearer error message.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <n.schier@avm.de>
scripts/Makefile.modinst