Skip to content

Latest commit

 

History

History
54 lines (30 loc) · 1.54 KB

File metadata and controls

54 lines (30 loc) · 1.54 KB

Raspberry Pi 3 Cross-Compiler in a Docker Container wit Qt

An easy-to-use all-in-one cross compiler for the Raspberry Pi 3.

This project is available as cogilvie/docker-raspberry-pi-cross-compiler on GitHub.

Please raise any issues on the GitHub issue tracker.

Contents

Features

Installation

build the image from the root dir this is required to correctly add the patches to the container

eg.

docker build . -t cogilvie/docker-raspberry-pi-cross-compiler:latest

Usage

The image works with vscode Remote development

Custom Images

Create a Dockerfile

To add new features to the sysroot

FROM cogilvie/raspberry-pi-cross-compiler


RUN chroot $SYSROOT /bin/sh -c '\
        && DEBIAN_FRONTEND=noninteractive apt-get -y install <your libs>'

#fix symlincs for cross compiling
RUN $RPXC_ROOT/sysroot-relativelinks.py $SYSROOT