This commit adds possibility to build .NET runtime
in Tizen's build environment (32-bit arm, little endian,
soft fp). Two issues was fixed:
1) wrong host os detection (tizen's build system is "armel",
but not "arm");
2) build is allowed not only on "arm", "arm64" and "x64" hosts,
but on "armel" host too.
Fixes #32042
return
fi
- if [[ ( "$__HostOS" == "Linux" ) && ( "$__HostArch" == "x64" || "$__HostArch" == "arm" || "$__HostArch" == "arm64" ) ]]; then
+ if [[ ( "$__HostOS" == "Linux" ) && ( "$__HostArch" == "x64" || "$__HostArch" == "arm" || "$__HostArch" == "armel" || "$__HostArch" == "arm64" ) ]]; then
__IsMSBuildOnNETCoreSupported=1
elif [[ ( "$__HostOS" == "OSX" || "$__HostOS" == "FreeBSD" ) && "$__HostArch" == "x64" ]]; then
__IsMSBuildOnNETCoreSupported=1
;;
armv7l)
- __BuildArch=arm
- __HostArch=arm
+ if (NAME=""; . /etc/os-release; test "$NAME" = "Tizen"); then
+ __BuildArch=armel
+ __HostArch=armel
+ else
+ __BuildArch=arm
+ __HostArch=arm
+ fi
;;
i686)