mirror of
https://gitlab.com/fabinfra/fabaccess/FabFire-Provisioning-Tool.git
synced 2025-03-12 06:41:44 +01:00
add Cross.toml for cross compilation with cross_rs
This commit is contained in:
parent
f54f01b67c
commit
6a413a84d7
21
Cross.toml
Normal file
21
Cross.toml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#we build x86_64 natively, so we do not need this!
|
||||||
|
#[target.x86_64-unknown-linux-gnu]
|
||||||
|
#pre-build = [
|
||||||
|
# "dpkg --add-architecture $CROSS_DEB_ARCH",
|
||||||
|
# "apt-get update",
|
||||||
|
# "apt-get install --assume-yes libpcsclite-dev:$CROSS_DEB_ARCH --no-install-recommends",
|
||||||
|
#]
|
||||||
|
|
||||||
|
[target.aarch64-unknown-linux-gnu]
|
||||||
|
pre-build = [
|
||||||
|
"dpkg --add-architecture $CROSS_DEB_ARCH",
|
||||||
|
"apt-get update",
|
||||||
|
"apt-get install --assume-yes libpcsclite-dev:$CROSS_DEB_ARCH --no-install-recommends",
|
||||||
|
]
|
||||||
|
|
||||||
|
[target.armv7-unknown-linux-gnueabihf]
|
||||||
|
pre-build = [
|
||||||
|
"dpkg --add-architecture $CROSS_DEB_ARCH",
|
||||||
|
"apt-get update",
|
||||||
|
"apt-get install --assume-yes libpcsclite-dev:$CROSS_DEB_ARCH --no-install-recommends"
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user