commit | 6e0839fda3f8598b164a7f23f3eec039e2db5fbc | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <masahiroy@kernel.org> | Sun Mar 14 15:15:50 2021 +0900 |
committer | Masahiro Yamada <masahiroy@kernel.org> | Sun Apr 25 05:14:01 2021 +0900 |
tree | 6a1feaeeddf691f200eaaf8058dfc94087156b1d | |
parent | 879a3209009fbbeb013a1d81952abcbe13918a13 [diff] |
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: Masahiro Yamada <masahiroy@kernel.org>