Skip to content

Commit a9d9ebb

Browse files
committed
Fix mips(el) builds.
mips and mipsel targets have been moved to tier 3, pre-compiled target binaries are no longer provided by the Rust project.
1 parent 9c9f1a2 commit a9d9ebb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile

+6-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,14 @@ build-armv7-unknown-linux-musleabihf:
2222
cross build --target armv7-unknown-linux-musleabihf --release
2323

2424
build-mips-unknown-linux-musl:
25-
cross build --target mips-unknown-linux-musl --release --no-default-features --features semtech_udp
25+
# mips is a tier-3 target.
26+
rustup +nightly component add rust-src
27+
cross +nightly build -Z build-std=panic_abort,std --target mips-unknown-linux-musl --release --no-default-features --features semtech_udp
2628

2729
build-mipsel-unknown-linux-musl:
28-
cross build --target mipsel-unknown-linux-musl --release --no-default-features --features semtech_udp
30+
# mipsel is a tier-3 target.
31+
rustup +nightly component add rust-src
32+
cross +nightly build -Z build-std=panic_abort,std --target mipsel-unknown-linux-musl --release --no-default-features --features semtech_udp
2933

3034
# Build distributable binaries for all targets.
3135
dist: \

0 commit comments

Comments
 (0)