[build] Update list of aoted images in mcs mode
authorMarek Safar <marek.safar@gmail.com>
Thu, 15 Dec 2016 18:04:31 +0000 (19:04 +0100)
committerMarek Safar <marek.safar@gmail.com>
Thu, 15 Dec 2016 18:04:31 +0000 (19:04 +0100)
mcs/class/aot-compiler/Makefile

index be6d85f087cc4fa88b1759f0f7620847d4193fb4..31a75b946d78ee36c0e8119920e36d9ba57228d6 100644 (file)
@@ -69,11 +69,13 @@ clean-local:
 
 # AOT build profile mcs to speed up build
 ifeq ($(PROFILE),build)
+
+IMAGES = $(mscorlib_aot_image) $(csc_aot_image) $(csc_SRM_image) $(csc_SCI_image)
 ifdef MCS_MODE
-all-local: $(mscorlib_aot_image) $(mcs_aot_image)
-else
-all-local: $(mscorlib_aot_image) $(csc_aot_image) $(csc_SRM_image) $(csc_SCI_image)
+       IMAGES += $(mcs_aot_image)
 endif
+
+all-local: $(IMAGES)
 install-local:
 endif