forked from lcsfelix/reading-xiaomi-temp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cross.toml
17 lines (13 loc) · 779 Bytes
/
Cross.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[target.armv7-unknown-linux-gnueabihf]
# Based on https://www.collabora.com/news-and-blog/blog/2020/06/23/cross-building-rust-gstreamer-plugins-for-the-raspberry-pi/
# but with `RUN apt-get install -y libdbus-1-dev:armhf` thrown in to get the dependency we need.
# This image has been pushed to dockerhub.
# image = "alsuren/xiaomi-temp-rpi-builder"
# Once https://github.com/rust-embedded/cross/pull/446 gets somewhere, you
# will be able to use `context` and `dockerfile` to achieve the same result.
context = "./docker"
dockerfile = "./docker/Dockerfile.buster-gst-armv7-unknown-linux-gnueabihf"
[target.aarch64-unknown-linux-gnu]
# image = "alsuren/xiaomi-temp-aarch64-builder"
context = "./docker"
dockerfile = "./docker/Dockerfile.buster-gst-aarch64-unknown-linux-gnu"