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# 9BR2_MAKE_VERSION_MIN = 4.0 10 11BR2_MAKE ?= $(call suitable-host-package,make,\ 12 $(BR2_MAKE_VERSION_MIN) $(MAKE)) 13 14ifeq ($(BR2_MAKE),) 15BR2_MAKE = $(HOST_DIR)/bin/host-make -j$(PARALLEL_JOBS) 16BR2_MAKE1 = $(HOST_DIR)/bin/host-make -j1 17BR2_MAKE_HOST_DEPENDENCY = host-make 18else 19BR2_MAKE = $(MAKE) 20BR2_MAKE1 = $(MAKE1) 21endif 22