aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/Makefile
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2023-09-26 16:37:29 +0200
committertobtoht <tob@featherwallet.org>2023-09-26 16:46:51 +0200
commit0d763a19b81b2740778685148021e32e3e9b6f3c (patch)
tree85375dc50eadb78e37985864c92b653a6c393965 /contrib/depends/Makefile
parentMerge pull request #8976 (diff)
downloadmonero-0d763a19b81b2740778685148021e32e3e9b6f3c.tar.xz
depends: move cmake system config to hosts files
Diffstat (limited to 'contrib/depends/Makefile')
-rw-r--r--contrib/depends/Makefile17
1 files changed, 1 insertions, 16 deletions
diff --git a/contrib/depends/Makefile b/contrib/depends/Makefile
index 4b60ee054..07dd5d4af 100644
--- a/contrib/depends/Makefile
+++ b/contrib/depends/Makefile
@@ -68,21 +68,6 @@ $(host_arch)_$(host_os)_prefix=$(BASEDIR)/$(host)
$(host_arch)_$(host_os)_host=$(host)
host_prefix=$($(host_arch)_$(host_os)_prefix)
build_prefix=$(host_prefix)/native
-ifeq ($(host_os),mingw32)
-host_cmake=Windows
-endif
-ifeq ($(host_os),linux)
-host_cmake=Linux
-endif
-ifeq ($(host_os),freebsd)
-host_cmake=FreeBSD
-endif
-ifeq ($(host_os),darwin)
-host_cmake=Darwin
-endif
-ifeq ($(host_os),android)
-host_cmake=Android
-endif
AT_$(V):=
AT_:=@
@@ -151,7 +136,7 @@ $(host_prefix)/share/toolchain.cmake : toolchain.cmake.in $(host_prefix)/.stamp_
-e 's|@debug@|$(DEBUG)|' \
-e 's|@release_type@|$(release_type)|' \
-e 's|@build_tests@|$(build_tests)|' \
- -e 's|@depends@|$(host_cmake)|' \
+ -e 's|@cmake_system_name@|$($(host_os)_cmake_system)|' \
-e 's|@prefix@|$($(host_arch)_$(host_os)_prefix)|'\
-e 's|@arch@|$(host_arch)|'\
$< > $@