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 <rahul@balena.io>
  • Loading branch information
rahul-thakoor committed Apr 24, 2024
1 parent d02fb7f commit d958cfc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
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
7 changes: 5 additions & 2 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
[build]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get install --assume-yes libdbus-1-dev:$CROSS_DEB_ARCH"
]
"apt-get update && apt-get install --assume-yes libdbus-1-dev:$CROSS_DEB_ARCH pkg-config:$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 d958cfc

Please sign in to comment.