summaryrefslogtreecommitdiffstats
path: root/scripts/min-tool-version.sh
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-12-14 03:53:51 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2022-01-08 09:46:35 +0100
commitb8c96a6b466ca3b91530a4ec7f7404f40f8f4d0b (patch)
treebb7e15b3b66cb491a569700b7054bee9f5424ba5 /scripts/min-tool-version.sh
parentkbuild: stop using config_filename in scripts/Makefile.modsign (diff)
downloadlinux-b8c96a6b466ca3b91530a4ec7f7404f40f8f4d0b.tar.xz
linux-b8c96a6b466ca3b91530a4ec7f7404f40f8f4d0b.zip
certs: simplify $(srctree)/ handling and remove config_filename macro
The complex macro, config_filename, was introduced to do: [1] drop double-quotes from the string value [2] add $(srctree)/ prefix in case the file is not found in $(objtree) [3] escape spaces and more [1] will be more generally handled by Kconfig later. As for [2], Kbuild uses VPATH to search for files in $(objtree), $(srctree) in this order. GNU Make can natively handle it. As for [3], converting $(space) to $(space_escape) back and forth looks questionable to me. It is well-known that GNU Make cannot handle file paths with spaces in the first place. Instead of using the complex macro, use $< so it will be expanded to the file path of the key. Remove config_filename, finally. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/min-tool-version.sh')
0 files changed, 0 insertions, 0 deletions