blob: 091d55fd38f672b55f4de0389f3fc6cdbe88710d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
From a512a1f58a98a5611178e356ae217af1ffb11d72 Mon Sep 17 00:00:00 2001
From: Jiyoung Yun <jy910.yun@samsung.com>
Date: Tue, 14 Feb 2017 17:57:48 +0900
Subject: [PATCH] Add Tizen RuntimeID case
Change-Id: I4d689e31f64143c3d0e2dac74b09aefc9d40de60
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
---
build.sh | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/build.sh b/build.sh
index ae5e436..6da18d9 100755
--- a/build.sh
+++ b/build.sh
@@ -358,12 +358,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
}
@@ -419,12 +426,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
+ build_CoreLib_ni
else
exit 1
fi
--
1.9.1
|