kbuild: parameterize the .o part of suffix-search
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 2 May 2021 18:09:55 +0000 (03:09 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 5 May 2021 17:14:38 +0000 (02:14 +0900)
commit44f87191d105519cdf37fb0d4988006ea04eb34e
tree9fa769892a63f7591080c25dac8186e4b1bd19dc
parent23243c1ace9fb4eae2f75e0fe0ece8e3219fb4f3
kbuild: parameterize the .o part of suffix-search

The suffix-search macro hard-codes the suffix, '.o'.

Make it a parameter so that the multi-search and real-search macros
can be reused for foo-dtbs syntax introduced by commit 15d16d6dadf6
("kbuild: Add generic rule to apply fdtoverlay").

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/Makefile.lib