summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorHyung-Kyu Choi <hk0110.choi@samsung.com>2017-08-02 03:40:34 (GMT)
committerBruce Forstall <brucefo@microsoft.com>2017-08-02 03:40:34 (GMT)
commitd38614c642fd416f730f1e760e2021226d97986b (patch)
treef44b207138bf5c4994386c3250c74786d54bb2f4 /build.sh
parentf230a8c795af6e925276df3f8e7a22f8947c8a4e (diff)
downloadcoreclr-d38614c642fd416f730f1e760e2021226d97986b.zip
coreclr-d38614c642fd416f730f1e760e2021226d97986b.tar.gz
coreclr-d38614c642fd416f730f1e760e2021226d97986b.tar.bz2
Enable build of crosscomponent for armel (#11066)
* Enable build of crosscomponent for armel Enable build of crosscomponent for armel in addition to arm Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com> * Fix typo Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index b619592..ccd3804 100755
--- a/build.sh
+++ b/build.sh
@@ -349,7 +349,7 @@ build_cross_arch_component()
__SkipCrossArchBuild=1
TARGET_ROOTFS=""
# check supported cross-architecture components host(__HostArch)/target(__BuildArch) pair
- if [[ "$__BuildArch" == "arm" && "$__CrossArch" == "x86" ]]; then
+ if [[ ("$__BuildArch" == "arm" || "$__BuildArch" == "armel") && "$__CrossArch" == "x86" ]]; then
export CROSSCOMPILE=0
__SkipCrossArchBuild=0
@@ -915,7 +915,7 @@ __CrossComponentBinDir="$__BinDir"
__CrossCompIntermediatesDir="$__IntermediatesDir/crossgen"
__CrossArch="$__HostArch"
-if [[ "$__HostArch" == "x64" && "$__BuildArch" == "arm" ]]; then
+if [[ "$__HostArch" == "x64" && ("$__BuildArch" == "arm" || "$__BuildArch" == "armel") ]]; then
__CrossArch="x86"
fi
if [ $__CrossBuild == 1 ]; then