diff options
author | Jo Shields <directhex@apebox.org> | 2022-01-25 00:29:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-25 00:29:57 +0300 |
commit | df69293bdbe75bf5903583c472fcd257119dbda4 (patch) | |
tree | 92c11c146ada65822ce759ec83d0285c47d5a2bf /eng/build.sh | |
parent | ae755ab3c7f838f7dccd2a4c2d5934a9d7d82c69 (diff) |
Port Mono to Raspberry Pi, ship as new linux-armv6 RID (#62594)
* Initial ARMv6 arch addition. Builds mono runtime, not CoreCLR (Mono already supports the CPU arch subset used by Raspberry Pi, whilst porting CoreCLR to e.g. VFPv2 would be major work)
* Build small clr subset on ARMv6, it's needed for SDK and we want to check it works
Diffstat (limited to 'eng/build.sh')
-rwxr-xr-x | eng/build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eng/build.sh b/eng/build.sh index ea8e3089e95..167f8e20141 100755 --- a/eng/build.sh +++ b/eng/build.sh @@ -17,7 +17,7 @@ scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" usage() { echo "Common settings:" - echo " --arch (-a) Target platform: x86, x64, arm, armel, arm64, loongarch64, s390x or wasm." + echo " --arch (-a) Target platform: x86, x64, arm, armv6, armel, arm64, loongarch64, s390x or wasm." echo " [Default: Your machine's architecture.]" echo " --binaryLog (-bl) Output binary log." echo " --cross Optional argument to signify cross compilation." @@ -206,12 +206,12 @@ while [[ $# > 0 ]]; do fi passedArch="$(echo "$2" | tr "[:upper:]" "[:lower:]")" case "$passedArch" in - x64|x86|arm|armel|arm64|loongarch64|s390x|wasm) + x64|x86|arm|armv6|armel|arm64|loongarch64|s390x|wasm) arch=$passedArch ;; *) echo "Unsupported target architecture '$2'." - echo "The allowed values are x86, x64, arm, armel, arm64, loongarch64, s390x, and wasm." + echo "The allowed values are x86, x64, arm, armv6, armel, arm64, loongarch64, s390x, and wasm." exit 1 ;; esac |