projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c221a74
)
[build] Update list of aoted images in mcs mode
author
Marek Safar
<marek.safar@gmail.com>
Fri, 16 Dec 2016 11:17:40 +0000
(12:17 +0100)
committer
Marek Safar
<marek.safar@gmail.com>
Fri, 16 Dec 2016 15:11:39 +0000
(16:11 +0100)
mcs/class/aot-compiler/Makefile
patch
|
blob
|
history
diff --git
a/mcs/class/aot-compiler/Makefile
b/mcs/class/aot-compiler/Makefile
index be6d85f087cc4fa88b1759f0f7620847d4193fb4..9730a5a57766a91a2c046c047ca4b146825210ba 100644
(file)
--- a/
mcs/class/aot-compiler/Makefile
+++ b/
mcs/class/aot-compiler/Makefile
@@
-64,21
+64,35
@@
$(csc_SCI_image): $(csc_SCI_dll) $(runtime_dep)
ifdef ENABLE_AOT
ifdef ENABLE_AOT
+CSC_IMAGES = $(csc_aot_image) $(csc_SRM_image) $(csc_SCI_image)
+
clean-local:
clean-local:
- -rm -f $(mscorlib_aot_image) $(mcs_aot_image) $(
csc_aot_image) $(csc_SRM_image) $(csc_SCI_image
) $(PROFILE)_aot.log
+ -rm -f $(mscorlib_aot_image) $(mcs_aot_image) $(
CSC_IMAGES
) $(PROFILE)_aot.log
-# AOT build profile
mcs
to speed up build
+# AOT build profile to speed up build
ifeq ($(PROFILE),build)
ifeq ($(PROFILE),build)
+
+IMAGES = $(mscorlib_aot_image)
+
ifdef MCS_MODE
ifdef MCS_MODE
-
all-local: $(mscorlib_aot_image)
$(mcs_aot_image)
+
IMAGES +=
$(mcs_aot_image)
else
else
-
all-local: $(mscorlib_aot_image) $(csc_aot_image) $(csc_SRM_image) $(csc_SCI_image
)
+
IMAGES += $(CSC_IMAGES
)
endif
endif
+
+all-local: $(IMAGES)
install-local:
endif
ifeq ($(PROFILE), $(DEFAULT_PROFILE))
install-local:
endif
ifeq ($(PROFILE), $(DEFAULT_PROFILE))
-all-local: $(mscorlib_aot_image) $(mcs_aot_image)
+
+IMAGES = $(mscorlib_aot_image) $(mcs_aot_image)
+
+ifdef MCS_MODE
+IMAGES += $(CSC_IMAGES)
+endif
+
+all-local: $(IMAGES)
install-local:
$(MKINSTALLDIRS) $(DESTDIR)$(LIBRARY_INSTALL_DIR)
$(INSTALL_LIB) $(mscorlib_aot_image) $(DESTDIR)$(LIBRARY_INSTALL_DIR)
install-local:
$(MKINSTALLDIRS) $(DESTDIR)$(LIBRARY_INSTALL_DIR)
$(INSTALL_LIB) $(mscorlib_aot_image) $(DESTDIR)$(LIBRARY_INSTALL_DIR)