]> 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)
commit01f20b79d78e3ed81e2e348777e5442a0a428095
treed98293942f605d235b741e77d6b9ea3bcdb85e23
parentafddd55d4a776e2a1128449ba2f1c058757a0424
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