repo: https://github.com/buildroot/buildroot/tree/2021.05 commit: 69f79f2a2ee1417e19c1ead2c9226e11753c06cb Update for 2021.05 Change-Id: I77d6d14da04483c97cb172bf6732732012e538d9
15 lines
415 B
Makefile
15 lines
415 B
Makefile
# If the system lacks bison or flex, add
|
|
# dependencies to suitable host packages
|
|
#
|
|
# BR2_{BISON,FLES}_HOST_DEPENDENCY should only be used to build code
|
|
# that runs on host, e.g. Kconfig. To build code for target use plain
|
|
# host-{bison,flex}.
|
|
|
|
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
|