From 8140a9d705b0332c42ea557ccb6485eadb6bcd5a Mon Sep 17 00:00:00 2001 From: Steve MacLean Date: Fri, 30 Mar 2018 14:56:14 -0400 Subject: [Arm64] Add x64_arm64 crossgen to tools package --- build.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'build.sh') 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 } -- cgit v1.2.3