aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/Makefile
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-11-03 14:51:52 -0800
committerRiccardo Spagni <ric@spagni.net>2019-11-03 14:51:52 -0800
commitf6201081fa300d53145a29ed91a326b3b0d980bc (patch)
tree7b24087f721432b72ea095029f05a7724cf6c295 /contrib/depends/Makefile
parentMerge pull request #6084 (diff)
parentgitian: add --rebuild option (diff)
downloadmonero-f6201081fa300d53145a29ed91a326b3b0d980bc.tar.xz
Merge pull request #6077
240dbb124 gitian: add --rebuild option (Howard Chu) 643860776 Add Android support (Howard Chu)
Diffstat (limited to 'contrib/depends/Makefile')
-rw-r--r--contrib/depends/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/depends/Makefile b/contrib/depends/Makefile
index ec0e4cfae..7eedee15e 100644
--- a/contrib/depends/Makefile
+++ b/contrib/depends/Makefile
@@ -53,7 +53,10 @@ endif
host_arch=$(firstword $(subst -, ,$(canonical_host)))
host_vendor=$(word 2,$(subst -, ,$(canonical_host)))
full_host_os:=$(subst $(host_arch)-$(host_vendor)-,,$(canonical_host))
+host_os:=$(findstring android,$(full_host_os))
+ifeq ($(host_os),)
host_os:=$(findstring linux,$(full_host_os))
+endif
host_os+=$(findstring darwin,$(full_host_os))
host_os+=$(findstring mingw32,$(full_host_os))
host_os:=$(strip $(host_os))
@@ -74,6 +77,9 @@ endif
ifeq ($(host_os),darwin)
host_cmake=Darwin
endif
+ifeq ($(host_os),android)
+host_cmake=Android
+endif
AT_$(V):=
AT_:=@