check-host-bison-flex.mk 415 B

1234567891011121314
  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. ifeq ($(shell which bison 2>/dev/null),)
  8. BR2_BISON_HOST_DEPENDENCY = host-bison
  9. endif
  10. ifeq ($(shell which flex 2>/dev/null),)
  11. BR2_FLEX_HOST_DEPENDENCY = host-flex
  12. endif