1
0
Fork 0
forked from forks/qmk_firmware

Update build instructions and Dockerfile to download submodules

This commit is contained in:
Mikhail Goncharov 2018-04-10 18:47:56 +01:00 committed by Drashna Jaelre
parent b846c25a56
commit 93210547bd
3 changed files with 4 additions and 2 deletions

View file

@ -26,4 +26,4 @@ VOLUME /qmk_firmware
WORKDIR /qmk_firmware WORKDIR /qmk_firmware
COPY . . COPY . .
CMD make $KEYBOARD:$KEYMAP CMD make clean ; make git-submodule ; make $KEYBOARD:$KEYMAP

View file

@ -2,6 +2,8 @@
This page describes setting up the build environment for QMK. These instructions cover AVR processors (such as the atmega32u4). This page describes setting up the build environment for QMK. These instructions cover AVR processors (such as the atmega32u4).
After cloning the repo of QMK run `make git-submodule` once to download 3rd party libraries like ChibiOS.
<!-- FIXME: We should have ARM instructions somewhere. --> <!-- FIXME: We should have ARM instructions somewhere. -->
Note: If it is your first time here, Check out the "Complete Newbs guide" instead Note: If it is your first time here, Check out the "Complete Newbs guide" instead

View file

@ -47,4 +47,4 @@ dir=$(pwd -W 2>/dev/null) || dir=$PWD # Use Windows path if on Windows
# Run container and build firmware # Run container and build firmware
docker run --rm -it $usb_args -v "$dir":/qmk_firmware qmkfm/qmk_firmware \ docker run --rm -it $usb_args -v "$dir":/qmk_firmware qmkfm/qmk_firmware \
make "$keyboard${keymap:+:$keymap}${target:+:$target}" /bin/bash -c "make git-submodule; make \"$keyboard${keymap:+:$keymap}${target:+:$target}\""