Skip to content

Commit c2af00f

Browse files
chirayudesaiandi34
authored andcommitted
Support building with GNU make 4.0
* It works just fine, no need for the warning. Change-Id: Ifa2ab17454edfcd8b7840a7534f70576286f2864 Conflicts: core/main.mk
1 parent b246e79 commit c2af00f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

core/main.mk

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,17 @@ endif
4242
ifeq (,$(findstring CYGWIN,$(shell uname -sm)))
4343
ifeq (0,$(shell expr $$(echo $(MAKE_VERSION) | sed "s/[^0-9\.].*//") = 3.81))
4444
ifeq (0,$(shell expr $$(echo $(MAKE_VERSION) | sed "s/[^0-9\.].*//") = 3.82))
45+
ifeq (0,$(shell expr $$(echo $(MAKE_VERSION) | sed "s/[^0-9\.].*//") = 4.0))
4546
$(warning ********************************************************************************)
4647
$(warning * You are using version $(MAKE_VERSION) of make.)
47-
$(warning * Android can only be built by versions 3.81 and 3.82.)
48+
$(warning * Android can only be built by versions 3.81, 3.82 and 4.0.)
4849
$(warning * see https://source.android.com/source/download.html)
4950
$(warning ********************************************************************************)
5051
$(error stopping)
5152
endif
5253
endif
5354
endif
55+
endif
5456

5557
# Absolute path of the present working direcotry.
5658
# This overrides the shell variable $PWD, which does not necessarily points to

0 commit comments

Comments
 (0)