]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: error out if $(KBUILD_EXTMOD) contains % or :
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 14 Jul 2022 05:02:42 +0000 (14:02 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 27 Jul 2022 12:18:00 +0000 (21:18 +0900)
commit7f6899cb2aa349cf6b2886a262807551f4c7032e
tree35eeea3c5ff711190a3ac855cb3e833cc022f98f
parent8a4ab2e2da97404bd9ab55f01700b676dbb39e79
kbuild: error out if $(KBUILD_EXTMOD) contains % or :

If the directory path given to KBUILD_EXTMOD (or M=) contains % or :,
the module fails to build.

% 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>
Makefile