From e6fd5dd98b9a70b26d2111372ab7c484ea09cd1e Mon Sep 17 00:00:00 2001 From: Simon Persson Date: Wed, 14 Mar 2018 19:06:39 +0100 Subject: [PATCH] Add new dependencies to ARM cross build. --- arm-docker/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arm-docker/Dockerfile b/arm-docker/Dockerfile index 9eabca09..ff1e8f7d 100644 --- a/arm-docker/Dockerfile +++ b/arm-docker/Dockerfile @@ -1,10 +1,12 @@ FROM dlecan/rust-crosscompiler-arm:stable RUN apt-get update -RUN apt-get install -qq -y libasound2-dev:armhf pkg-config -RUN rustup override set nightly-arm-unknown-linux-gnueabihf +RUN apt-get install -qq -y libasound2-dev:armhf pkg-config libdbus-1-dev:armhf +RUN rustup default nightly +RUN rustup target add arm-unknown-linux-gnueabihf VOLUME ["/source"] WORKDIR /source ENV PKG_CONFIG_ALLOW_CROSS=1 PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig/ +ENV OBJCOPY $CC_DIR/arm-linux-gnueabihf-objcopy