* profiles/basic.make (do-profile-check): Set MONO_PATH when
authorRaja R Harinath <harinath@hurrynot.org>
Tue, 23 Aug 2005 14:21:25 +0000 (14:21 -0000)
committerRaja R Harinath <harinath@hurrynot.org>
Tue, 23 Aug 2005 14:21:25 +0000 (14:21 -0000)
running disassembler.

svn path=/trunk/mcs/; revision=48729

mcs/build/ChangeLog
mcs/build/profiles/basic.make

index 484a241ba24927958f7ca229fbbb7f2f851455b4..73d45f9b206c9703f5660416e411d93e55e4c783 100644 (file)
@@ -1,3 +1,8 @@
+2005-08-23  Raja R Harinath  <rharinath@novell.com>
+
+       * profiles/basic.make (do-profile-check): Set MONO_PATH when
+       running disassembler.
+
 2005-08-22  Raja R Harinath  <rharinath@novell.com>
 
        * Makefile (DISTFILES): Move files in common/ to ...
index e8b021c289523c1c9187e7f45b41c3ca631ad686..60b219d5233d66fb3b4640cdea5fd3bcb9af8608 100644 (file)
@@ -1,7 +1,9 @@
 # -*- makefile -*-
 
+with_mono_path = MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH"
+
 BOOTSTRAP_MCS = $(EXTERNAL_MCS)
-MCS = MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_MCS)
+MCS = $(with_mono_path) $(INTERNAL_MCS)
 
 PROFILE_MCS_FLAGS = -d:NET_1_1 -d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB
 NO_SIGN_ASSEMBLY = yes
@@ -33,7 +35,7 @@ do-profile-check:
        if $$ok; then :; else \
            echo "*** The compiler '$(EXTERNAL_MCS)' doesn't appear to be usable." 1>&2 ; \
            if test -f $(topdir)/class/lib/monolite/mcs.exe; then \
-               monolite_corlib_version=`$(ILDISASM) $(topdir)/class/lib/monolite/mscorlib.dll | sed -n 's,.*mono_corlib_version.*int32.*(\([^)]*\)),\1,p'`; \
+               monolite_corlib_version=`$(with_mono_path) $(ILDISASM) $(topdir)/class/lib/monolite/mscorlib.dll | sed -n 's,.*mono_corlib_version.*int32.*(\([^)]*\)),\1,p'`; \
                source_corlib_version=`sed -n 's,.*mono_corlib_version.*=[^0-9]*\([0-9]*\)[^0-9]*$$,\1,p' $(topdir)/class/corlib/System/Environment.cs`; \
                case $$monolite_corlib_version in \
                0x* | 0X*) monolite_corlib_version=`echo $$monolite_corlib_version | sed s,^0[xX],,`; \