From 1ef080f2e3b158042ce162876e4f781834993c0e Mon Sep 17 00:00:00 2001 From: Jiyoung Yun Date: Wed, 14 Jun 2017 16:36:56 +0900 Subject: [PATCH 23/29] Add Tizen RuntimeID case Change-Id: I8c52d2993dd1414ede6ff1e40e949af58bca9d40 --- build.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/build.sh b/build.sh index 6590e83..3467387 100755 --- a/build.sh +++ b/build.sh @@ -414,12 +414,19 @@ isMSBuildOnNETCoreSupported() "alpine.3.4.3-x64") __isMSBuildOnNETCoreSupported=1 ;; + "tizen"*) + __isMSBuildOnNETCoreSupported=1 + ;; *) __isMSBuildOnNETCoreSupported=$__msbuildonunsupportedplatform esac elif [ "$__HostOS" == "OSX" ]; then __isMSBuildOnNETCoreSupported=1 fi + elif [ "$__HostArch" == "arm" ]; then + __isMSBuildOnNETCoreSupported=1 + elif [ "$__HostArch" == "x86" ]; then + __isMSBuildOnNETCoreSupported=1 fi } @@ -475,12 +482,18 @@ build_CoreLib() # The cross build generates a crossgen with the target architecture. if [ $__CrossBuild != 1 ]; then # The architecture of host pc must be same architecture with target. + if [[ ( "$__HostArch" == "x86") ]]; then + exit 0 + fi + if [[ ( "$__HostArch" == "$__BuildArch" ) ]]; then build_CoreLib_ni elif [[ ( "$__HostArch" == "x64" ) && ( "$__BuildArch" == "x86" ) ]]; then build_CoreLib_ni elif [[ ( "$__HostArch" == "arm64" ) && ( "$__BuildArch" == "arm" ) ]]; then build_CoreLib_ni + elif [[ ( "$__HostArch" == "arm" ) && ( "$__BuildArch" == "armel" ) ]]; then + exit 0 else exit 1 fi -- 2.7.4