aixxe / usbemani-build

Arch-based Docker image for building USBemani

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

usbemani-build

Arch-based Docker image for building USBemani.

# build and tag the image
docker build -t usbemani-build .

# spawn interactive shell in the build image
docker run --rm -it -u $(id -u):$(id -g) -v $(pwd):/build -w /build usbemani-build

# clone upstream repository with all dependencies
git clone --recursive https://github.com/progmem/usbemani.git
cd usbemani

# fix missing include on newer versions of gcc
# re: https://github.com/raspberrypi/pico-sdk/issues/1363
sed -i '10i\#include <cstdint>' lib/pico-sdk/tools/pioasm/pio_disassembler.cpp

# build
mkdir -p build
make lain/mini-4:default

About

Arch-based Docker image for building USBemani


Languages

Language:Dockerfile 100.0%