check-host-bison-flex.mk 253 B

12345678910
  1. # If the system lacks bison or flex, add
  2. # dependencies to suitable host packages
  3. ifeq ($(shell which bison 2>/dev/null),)
  4. BR2_BISON_HOST_DEPENDENCY = host-bison
  5. endif
  6. ifeq ($(shell which flex 2>/dev/null),)
  7. BR2_FLEX_HOST_DEPENDENCY = host-flex
  8. endif