Add arm[64] to isMSBuildOnNETCoreSupported()
authorGeunsik Lim <geunsik.lim@samsung.com>
Sat, 5 Mar 2016 00:26:17 +0000 (09:26 +0900)
committerGeunsik Lim <geunsik.lim@samsung.com>
Sat, 5 Mar 2016 00:37:35 +0000 (09:37 +0900)
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/be506eb3fadff99ae651fa1565eb59245486dcb1

src/coreclr/build.sh

index 16d72d9..04fab5e 100755 (executable)
@@ -208,6 +208,19 @@ isMSBuildOnNETCoreSupported()
         elif [ "$__BuildOS" == "OSX" ]; then
             __isMSBuildOnNETCoreSupported=1
         fi
+    elif [ "$__BuildArch" == "arm" ] || [ "$__BuildArch" == "arm64" ] ; then
+        if [ "$__BuildOS" == "Linux" ]; then
+            if [ "$__DistroName" == "ubuntu" ]; then
+                __isMSBuildOnNETCoreSupported=1
+            elif [ "$__DistroName" == "rhel" ]; then
+                __isMSBuildOnNETCoreSupported=1
+            elif [ "$__DistroName" == "debian" ]; then
+                __isMSBuildOnNETCoreSupported=1
+            fi
+        elif [ "$__BuildOS" == "OSX" ]; then
+            __isMSBuildOnNETCoreSupported=1
+        fi
+
     fi
 }