summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorSteve MacLean <sdmaclea.qdt@qualcommdatacenter.com>2018-03-30 14:56:14 -0400
committerSteve MacLean <sdmaclea.qdt@qualcommdatacenter.com>2018-03-31 16:50:29 -0400
commit8140a9d705b0332c42ea557ccb6485eadb6bcd5a (patch)
tree82c2a0b253296d9b74890e26d2e9f8d0c856d6d7 /build.sh
parent2023be14efa54af8b339d36499018a8743b32a29 (diff)
downloadcoreclr-8140a9d705b0332c42ea557ccb6485eadb6bcd5a.tar.gz
coreclr-8140a9d705b0332c42ea557ccb6485eadb6bcd5a.tar.bz2
coreclr-8140a9d705b0332c42ea557ccb6485eadb6bcd5a.zip
[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 1cb0d7e0dc..d43a7908df 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
}