Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2017-05-22 19:09:44 +0300
committerGitHub <noreply@github.com>2017-05-22 19:09:44 +0300
commit29741a40cbdbe2cf137a28dccbae2012ffb96258 (patch)
tree8d15b37d29c19e520af6e61a2c84b0d4172798dc /Makefile.am
parenta796ce400d0ca52b0cb4ca1dbdbed2aa3b1a05b6 (diff)
[bcl] Make monolite platform specific (#4910)
mscorlib.dll etc will be platform specific in the future. This also means that we need to adapt monolite since it'll become platform specific once we start the divergence. monolite is essentially a repackaging of the "build" profile which means we need to turn that profile into multi-platform profile like net_4_x. We'll still have a symlink from build -> build-darwin and the monolite which is downloaded or packaged in the tarball is expanded into mcs/lib/monolite-<platform> depending on the platform you're building on. I had to move the get-monolite-latest target from the top-level Makefile.am into mcs/class/Makefile so it has access to HOST_PLATFORM, but it arguably should've been there anyway before.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 1 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index ede76956498..031ef3a1168 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -50,14 +50,9 @@ noinst_DATA = mono-uninstalled.pc
DISTCLEANFILES= mono-uninstalled.pc
# building with monolite
-mcslib = $(mcs_topdir)/class/lib
-monolite_url = https://download.mono-project.com/monolite/monolite-$(MONO_CORLIB_VERSION)-latest.tar.gz
.PHONY: get-monolite-latest
get-monolite-latest:
- -rm -fr $(mcslib)/monolite/$(MONO_CORLIB_VERSION)
- -mkdir -p $(mcslib)/monolite
- cd $(mcslib) && { (wget -O- $(monolite_url) || curl -L $(monolite_url)) | gzip -d | tar xf - ; }
- cd $(mcslib) && mv -f monolite-* monolite/$(MONO_CORLIB_VERSION)
+ $(MAKE) -C $(mcs_topdir)/class get-monolite-latest
if BITCODE
BITCODE_CHECK=yes