summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2019-08-15 22:03:26 +0100
committerFlorian Didron <fdidron@users.noreply.github.com>2019-09-05 16:15:42 +0900
commit9aba563661cf67d73ef447e4e3f580d9b04c2dcd (patch)
tree1b7142845f56fcfec8fa70b19bd57daa16f668b6 /util
parentb2db6db409858e114a9a11acc82d85fed5460f7e (diff)
Add an alternative method for keyboard discovery to speed up build (#6073)
* Add an alternative method for keyboard discovery to speed up build * Chain MAKEFLAGS for docker_build.sh * Slight improvement to number of items sent to sort * Remove debug line * Fix line escape
Diffstat (limited to 'util')
-rwxr-xr-xutil/docker_build.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/util/docker_build.sh b/util/docker_build.sh
index 1e17bfbedc..738f1c7153 100755
--- a/util/docker_build.sh
+++ b/util/docker_build.sh
@@ -46,5 +46,11 @@ fi
dir=$(pwd -W 2>/dev/null) || dir=$PWD # Use Windows path if on Windows
# Run container and build firmware
-docker run --rm -it $usb_args -w /qmk_firmware/ -v "$dir":/qmk_firmware qmkfm/base_container \
+docker run --rm -it $usb_args \
+ -w /qmk_firmware/ \
+ -v "$dir":/qmk_firmware \
+ -e ALT_GET_KEYBOARDS=true \
+ -e SKIP_GIT="$SKIP_GIT" \
+ -e MAKEFLAGS="$MAKEFLAGS" \
+ qmkfm/base_container \
make "$keyboard${keymap:+:$keymap}${target:+:$target}"