15 lines
517 B
Plaintext
15 lines
517 B
Plaintext
![]() |
[target.armv7-unknown-linux-gnueabihf]
|
||
|
linker = "/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/bin/arm-oe-linux-gnueabi/arm-oe-linux-gnueabi-gcc"
|
||
|
rustflags = [
|
||
|
"-C", "link-arg=-march=armv7-a",
|
||
|
"-C", "link-arg=-marm",
|
||
|
"-C", "link-arg=-mfpu=neon",
|
||
|
"-C", "link-arg=-mfloat-abi=hard",
|
||
|
"-C", "link-arg=-mcpu=cortex-a9",
|
||
|
"-C", "link-arg=--sysroot=/usr/local/oecore-x86_64/sysroots/cortexa9hf-neon-oe-linux-gnueabi",
|
||
|
]
|
||
|
|
||
|
[build]
|
||
|
# Set the default --target flag
|
||
|
target = "armv7-unknown-linux-gnueabihf"
|