Skip to content
Snippets Groups Projects
Commit 6e0839fd authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: replace sed with $(subst ) or $(patsubst )


For simple text replacement, it is better to use a built-in function
instead of sed if possible. You can save one process forking.

I do not mean to replace all sed invocations because GNU Make itself
does not support regular expression (unless you use guile).

I just replaced simple ones.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 879a3209
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment