diff options
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 |