check-host-make.mk 696 B

123456789101112131415161718192021
  1. # Since version 2.28, glibc requires GNU Make >= 4.0
  2. # https://www.sourceware.org/ml/libc-alpha/2018-08/msg00003.html
  3. #
  4. # Set this to either 4.0 or higher, depending on the highest minimum
  5. # version required by any of the packages bundled in Buildroot. If a
  6. # package is bumped or a new one added, and it requires a higher
  7. # version, our package infra will catch it and whine.
  8. #
  9. BR2_MAKE_VERSION_MIN = 4.0
  10. BR2_MAKE ?= $(call suitable-host-package,make,\
  11. $(BR2_MAKE_VERSION_MIN) $(MAKE))
  12. ifeq ($(BR2_MAKE),)
  13. BR2_MAKE = $(HOST_DIR)/bin/host-make -j$(PARALLEL_JOBS)
  14. BR2_MAKE1 = $(HOST_DIR)/bin/host-make -j1
  15. BR2_MAKE_HOST_DEPENDENCY = host-make
  16. else
  17. BR2_MAKE = $(MAKE)
  18. BR2_MAKE1 = $(MAKE1)
  19. endif