Skip to content
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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment