bffh/Cross.toml

26 lines
994 B
TOML
Raw Normal View History

#this file contains partially the same statesments like the Cross.toml in FabFire-Provisioning-Tool.
#The reason: when pulling as submodule, the Cross.toml file in fabfire_provision/ dir is ignored.
#But when we clone FabFire-Provisioning-Tool separately, we need the Cross.toml inside fabfire_provision/
#we build x86_64 natively, so we do not need this!
#[target.x86_64-unknown-linux-gnu]
#pre-build = [
# "apt-get update && apt-get install --assume-yes capnproto"
#]
[target.aarch64-unknown-linux-gnu]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update",
"apt-get install --assume-yes capnproto",
"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 capnproto",
"apt-get install --assume-yes libpcsclite-dev:$CROSS_DEB_ARCH --no-install-recommends"
]