rust: Add support for ARMv5 (#342)

At GARDENA, we are running our Rust based web interface and
overlayfs-purge tool successfully on our ARMv5, Atmel SAM9G25 SoC based
IoT gateway.
This commit is contained in:
Reto Schneider
2021-04-24 22:54:42 +02:00
committed by GitHub
parent 920db7b045
commit 25ee517ae2

View File

@@ -38,6 +38,12 @@ def llvm_features_from_tune(d):
if ('armv6' in mach_overrides) or ('armv6' in feat):
f.append("+v6")
if 'armv5te' in feat:
f.append("+strict-align")
f.append("+v5te")
elif 'armv5' in feat:
f.append("+strict-align")
f.append("+v5")
if 'dsp' in feat:
f.append("+dsp")