summaryrefslogtreecommitdiffstats
path: root/support/dependencies/check-host-bison-flex.mk
blob: 233b6c51ccd6d3c8f771e7ce582776ef2d3066a1 (plain)
1
2
3
4
5
6
7
8
9
10
# If the system lacks bison or flex, add
# dependencies to suitable host packages

ifeq ($(shell which bison 2>/dev/null),)
BR2_BISON_HOST_DEPENDENCY = host-bison
endif

ifeq ($(shell which flex 2>/dev/null),)
BR2_FLEX_HOST_DEPENDENCY = host-flex
endif
OpenPOWER on IntegriCloud