diff options
author | Hyung-Kyu Choi <hk0110.choi@samsung.com> | 2017-08-02 12:40:34 +0900 |
---|---|---|
committer | Bruce Forstall <brucefo@microsoft.com> | 2017-08-01 20:40:34 -0700 |
commit | d38614c642fd416f730f1e760e2021226d97986b (patch) | |
tree | f44b207138bf5c4994386c3250c74786d54bb2f4 /build.sh | |
parent | f230a8c795af6e925276df3f8e7a22f8947c8a4e (diff) | |
download | coreclr-d38614c642fd416f730f1e760e2021226d97986b.tar.gz coreclr-d38614c642fd416f730f1e760e2021226d97986b.tar.bz2 coreclr-d38614c642fd416f730f1e760e2021226d97986b.zip |
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-x | build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |