kbuild: use POSIX-compatible grep option
authorStefan Hansson <newbie13xd@gmail.com>
Mon, 17 Oct 2022 15:01:14 +0000 (17:01 +0200)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 27 Oct 2022 15:16:19 +0000 (00:16 +0900)
commit5c1df62ca65936139a4b008561110d9fc285c58a
tree3d500527441e8061d9017244b4e7949d135d40ff
parent247f34f7b80357943234f93f247a1ae6b6c3a740
kbuild: use POSIX-compatible grep option

--file is a GNU extension to grep which is not available in all
implementations (such as BusyBox). Use the -f option instead which is
eqvuialent according to the GNU grep manpage[1] and is present in
POSIX[2].

 [1] https://www.gnu.org/software/grep/manual/grep.html
 [2] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/grep.html

Signed-off-by: Stefan Hansson <newbie13xd@gmail.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Makefile