1# If the system lacks bison or flex, add
2# dependencies to suitable host packages
3#
4# BR2_{BISON,FLES}_HOST_DEPENDENCY should only be used to build code
5# that runs on host, e.g. Kconfig. To build code for target use plain
6# host-{bison,flex}.
7
8ifeq ($(shell which bison 2>/dev/null),)
9BR2_BISON_HOST_DEPENDENCY = host-bison
10endif
11
12ifeq ($(shell which flex 2>/dev/null),)
13BR2_FLEX_HOST_DEPENDENCY = host-flex
14endif
15