+2010-04-16 Raja R Harinath <harinath@hurrynot.org>
+
+ * profiles/net_4_0_bootstrap.make (PROFILE_MCS_HAS_BOOTSTRAP_FALLBACK):
+ New. Can be set if we have BOOTSTRAP_PROFILE listed in the
+ MONO_PATH of MCS, and the profile's System.dll depends features
+ the profile's mscorlib.dll.
+
2010-04-07 Raja R Harinath <harinath@hurrynot.org>
* Makefile (DISTFILES): Add gensources.sh.
BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
MCS = MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_SMCS)
+# We can enable this if System.dll depends on features of the mscorlib.dll from this profile
+#PROFILE_MCS_HAS_BOOTSTRAP_FALLBACK = yes
+
profile-check:
@:
BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
MCS = MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_SMCS)
+# We can enable this if System.dll depends new features of the mscorlib.dll from this profile
+#PROFILE_MCS_HAS_BOOTSTRAP_FALLBACK = yes
+
profile-check:
@:
BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(RUNTIME_FLAGS) $(topdir)/class/lib/$(BOOTSTRAP_PROFILE)/gmcs.exe
MCS = MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(RUNTIME_FLAGS) $(topdir)/class/lib/$(PROFILE)/dmcs.exe
+# we have BOOTSTRAP_PROFILE listed in the MONO_PATH of MCS
+PROFILE_MCS_HAS_BOOTSTRAP_FALLBACK = yes
+
profile-check:
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:NET_2_0 -d:BOOTSTRAP_NET_4_0
+2010-04-16 Raja R Harinath <harinath@hurrynot.org>
+ and Marek Habersack <mhabersack@novell.com>
+
+ * Makefile (LIBRARY_COMPILE) [USE_BOOT_COMPILE]:
+ Don't override if the profile says it isn't necessary by setting
+ PROFILE_MCS_HAS_BOOTSTRAP_FALLBACK.
+
2010-04-01 Jb Evain <jbevain@novell.com>
* System.dll.sources: add SortedSet to the build.
endif
ifdef USE_BOOT_COMPILE
+ifndef PROFILE_MCS_HAS_BOOTSTRAP_FALLBACK
LIBRARY_COMPILE = $(BOOT_COMPILE)
endif
-
-ifeq (4.0, $(FRAMEWORK_VERSION))
-ifeq (net_4_0_bootstrap, $(PROFILE))
-LIBRARY_COMPILE = $(Q_MCS) $(MCS) $(USE_MCS_FLAGS)
-endif
endif
# Because System.dll, Mono.Security.dll System.Xml.dll have a cyclic dependency, we need a two-pass build.