mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-24 07:06:42 +00:00
allow a system make that matches the same major number (#353)
This commit is contained in:
parent
e5740c6bfe
commit
a1eae9111f
3
Makefile
3
Makefile
@ -23,10 +23,11 @@ CPUS := $(shell nproc)
|
|||||||
BUILD_LOG := $(shell mkdir -p "$(log_dir)" )
|
BUILD_LOG := $(shell mkdir -p "$(log_dir)" )
|
||||||
|
|
||||||
# Check that we have a correct version of make
|
# Check that we have a correct version of make
|
||||||
|
# that matches at least the major version
|
||||||
LOCAL_MAKE_VERSION := $(shell $(MAKE) --version | head -1 | cut -d' ' -f3)
|
LOCAL_MAKE_VERSION := $(shell $(MAKE) --version | head -1 | cut -d' ' -f3)
|
||||||
include modules/make
|
include modules/make
|
||||||
|
|
||||||
ifeq "$(LOCAL_MAKE_VERSION)" "$(make_version)"
|
ifneq "" "$(filter $(make_version)%,$(LOCAL_MAKE_VERSION))"
|
||||||
|
|
||||||
# This is the correct version of Make
|
# This is the correct version of Make
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user