summaryrefslogtreecommitdiffstats
path: root/util/activate_msys2.sh
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-07-13 20:24:26 +0200
committerGitHub <noreply@github.com>2017-07-13 20:24:26 +0200
commit6ed8ce4f598f838b971aa290a499f852827e1b58 (patch)
tree088e5e6d1d0d448f0e5c4032a830c27b33a126ab /util/activate_msys2.sh
parent087af43dee545792f486069481460ed5997bc41b (diff)
parentb7d8dec7dccc9bc6b458e26a8d12fcdb4d73cdeb (diff)
downloadqmk_firmware-6ed8ce4f598f838b971aa290a499f852827e1b58.tar.gz
qmk_firmware-6ed8ce4f598f838b971aa290a499f852827e1b58.tar.xz
Merge pull request #1491 from fredizzimo/msys2
Add support for msys2 build environment
Diffstat (limited to 'util/activate_msys2.sh')
-rw-r--r--util/activate_msys2.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/util/activate_msys2.sh b/util/activate_msys2.sh
new file mode 100644
index 000000000..bb0485302
--- /dev/null
+++ b/util/activate_msys2.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+function export_variables {
+ local util_dir=~/qmk_utils
+ export PATH=$PATH:$util_dir/dfu-programmer
+ export PATH=$PATH:$util_dir/dfu-util-0.9-win64
+ export PATH=$PATH:$util_dir/flip/bin
+ export PATH=$PATH:$util_dir/avr8-gnu-toolchain/bin
+ export PATH=$PATH:$util_dir/gcc-arm-none-eabi/bin
+}
+
+export_variables
+
+
+
+