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
path: root/sdks
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2020-02-11 14:18:45 +0300
committerGitHub <noreply@github.com>2020-02-11 14:18:45 +0300
commit071b7259d517b9298c2672e16248f62c5e3ce500 (patch)
tree225faa8150c14ae9deb9361a4737725aa8c14ce7 /sdks
parent742c414bdef9c9fb27d6c809f633488adbd8e9a2 (diff)
Move offsets-tool into mono/tools (#18783)
This allows us to consume it in the dotnet/runtime build.
Diffstat (limited to 'sdks')
-rw-r--r--sdks/builds/runtime.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/sdks/builds/runtime.mk b/sdks/builds/runtime.mk
index 9f3c00aea50..a4972125574 100644
--- a/sdks/builds/runtime.mk
+++ b/sdks/builds/runtime.mk
@@ -220,8 +220,8 @@ _cross-runtime_$(1)-$(2)_CONFIGURE_FLAGS= \
.stamp-$(1)-$(2)-$$(CONFIGURATION)-configure: | $$(if $$(IGNORE_PROVISION_LLVM),,provision-$(6))
-$$(TOP)/sdks/builds/$(1)-$(2)-$$(CONFIGURATION)/$(4).h: .stamp-offsets-tool-py-setup .stamp-$(1)-$(2)-$$(CONFIGURATION)-configure | configure-$(1)-$(5)
- . $(TOP)/tools/offsets-tool-py/offtool/bin/activate && PYTHONPATH=$(TOP)/tools/offsets-tool-py python3 $(TOP)/tools/offsets-tool-py/offsets-tool.py --targetdir="$$(TOP)/sdks/builds/$(1)-$(5)-$$(CONFIGURATION)" --abi=$(7) --monodir="$$(TOP)" --outfile="$$@" $$(_$(1)-$(2)_OFFSETS_DUMPER_ARGS)
+$$(TOP)/sdks/builds/$(1)-$(2)-$$(CONFIGURATION)/$(4).h: .stamp-$(1)-$(2)-$$(CONFIGURATION)-configure | configure-$(1)-$(5)
+ python3 $(TOP)/mono/tools/offsets-tool/offsets-tool.py --targetdir="$$(TOP)/sdks/builds/$(1)-$(5)-$$(CONFIGURATION)" --abi=$(7) --monodir="$$(TOP)" --outfile="$$@" $$(_$(1)-$(2)_OFFSETS_DUMPER_ARGS)
build-$(1)-$(2): $$(TOP)/sdks/builds/$(1)-$(2)-$$(CONFIGURATION)/$(4).h
@@ -234,10 +234,6 @@ $(1)_ARCHIVE += $(6)
endef
-.stamp-offsets-tool-py-setup:
- $(MAKE) -C $(TOP)/tools/offsets-tool-py setup
- touch $@
-
##
# Parameters:
# $(1): product