summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorSteve MacLean <sdmaclea.qdt@qualcommdatacenter.com>2018-03-30 18:56:14 (GMT)
committerSteve MacLean <sdmaclea.qdt@qualcommdatacenter.com>2018-03-31 20:50:29 (GMT)
commit8140a9d705b0332c42ea557ccb6485eadb6bcd5a (patch)
tree82c2a0b253296d9b74890e26d2e9f8d0c856d6d7 /build.sh
parent2023be14efa54af8b339d36499018a8743b32a29 (diff)
downloadcoreclr-8140a9d705b0332c42ea557ccb6485eadb6bcd5a.zip
coreclr-8140a9d705b0332c42ea557ccb6485eadb6bcd5a.tar.gz
coreclr-8140a9d705b0332c42ea557ccb6485eadb6bcd5a.tar.bz2
[Arm64] Add x64_arm64 crossgen to tools package
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 1cb0d7e..d43a790 100755
--- a/build.sh
+++ b/build.sh
@@ -341,6 +341,9 @@ build_cross_arch_component()
if [ "$__HostArch" == "x64" ]; then
export CROSSCOMPILE=1
fi
+ elif [[ ("$__BuildArch" == "arm64") && "$__CrossArch" == "x64" ]]; then
+ export CROSSCOMPILE=0
+ __SkipCrossArchBuild=0
else
# not supported
return
@@ -471,6 +474,8 @@ build_CoreLib()
elif [ $__DoCrossArchBuild == 1 ]; then
if [[ ( "$__CrossArch" == "x86" ) && ( "$__BuildArch" == "arm" ) ]]; then
build_CoreLib_ni "$__CrossComponentBinDir/crossgen"
+ elif [[ ( "$__HostArch" == "x64" ) && ( "$__BuildArch" == "arm64" ) ]]; then
+ build_CoreLib_ni "$__CrossComponentBinDir/crossgen"
fi
fi
}