Masahiro Yamada b8c96a6b46 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>
2022-01-08 17:46:35 +09:00
..
2021-11-02 11:33:15 -07:00
2021-11-08 09:15:45 -08:00
2021-04-26 08:38:10 -07:00
2020-10-22 13:13:57 -07:00
2021-11-08 09:15:45 -08:00
2021-02-26 09:41:05 -08:00
2021-05-02 00:43:35 +09:00
2021-11-02 06:20:58 -07:00
2020-12-08 23:30:04 +09:00
2021-11-01 16:33:53 -07:00
2020-12-08 23:30:04 +09:00
2021-05-03 17:23:06 -06:00