Skip to content

Commit

Permalink
Enable armv6 build
Browse files Browse the repository at this point in the history
We currently do not build the binary for armv6 architecture.
This commit enable `arm-unknown-linux-gnueabihf` target.

Signed-off-by: Rahul Thakoor <[email protected]>
  • Loading branch information
rahul-thakoor committed Apr 24, 2024
1 parent d02fb7f commit 1a3d91d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/flowzone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ jobs:
cargo_targets: |
aarch64-unknown-linux-gnu,
armv7-unknown-linux-gnueabihf,
arm-unknown-linux-gnueabihf,
x86_64-unknown-linux-gnu,
i686-unknown-linux-gnu
5 changes: 4 additions & 1 deletion Cross.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get install --assume-yes libdbus-1-dev:$CROSS_DEB_ARCH"
]
]

[target.arm-unknown-linux-gnueabihf.env]
passthrough = ["PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/arm-linux-gnueabihf/lib/:/usr/lib/arm-linux-gnueabihf/:/usr/lib/arm-linux-gnueabihf/pkgconfig/"]

0 comments on commit 1a3d91d

Please sign in to comment.