]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: move flex and bison rules to Makefile.host
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 20 Jul 2019 16:27:40 +0000 (01:27 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 13 Aug 2019 16:10:42 +0000 (01:10 +0900)
commit768cabd453717417a4efcbdfcbd596b9677788c4
treed98293942f605d235b741e77d6b9ea3bcdb85e23
parenta31b52f6cbfb10b5e97c2b38b8431059fc286edb
kbuild: move flex and bison rules to Makefile.host

Flex and bison are used for kconfig, dtc, genksyms, all of which are
host programs. I never imagine the kernel embeds a parser or a lexer.

Move the flex and bison rules to scripts/Makefile.host. This file is
included only when hostprogs-y etc. is present in the Makefile in the
directory. So, parsing these rules are skipped in most of directories.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/Makefile.host
scripts/Makefile.lib