From 1e2cb52b69338a4726a2e0646064bf61705a2280 Mon Sep 17 00:00:00 2001 From: Kai Kriegel Date: Tue, 14 Dec 2021 15:36:12 +0100 Subject: [PATCH] use correct path to cargo config --- .gitlab-ci.yml | 2 +- cargo-cross-config | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 cargo-cross-config diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4edcbfe..90126d9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -101,7 +101,7 @@ build:binary-development: before_script: - - cp cargo-cross-cfg /usr/local/cargo/config + - cp cargo-cross-config /usr/local/cargo/config - dkpg --add-architecture armhf - apt-get update -yqq - apt-get install -y libc6-armhf-cross libc6-dev-armhf-cross gcc-arm-linux-gnueabihf diff --git a/cargo-cross-config b/cargo-cross-config new file mode 100644 index 0000000..b0ce393 --- /dev/null +++ b/cargo-cross-config @@ -0,0 +1,3 @@ +[target.armv7-unknown-linux-gnueabihf] +linker = "arm-linux-gnueabihf-gcc" +