summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorXyverz <xyverz@gmail.com>2017-04-02 14:49:39 -0700
committerXyverz <xyverz@gmail.com>2017-04-02 14:49:39 -0700
commitc034b61b1abb2bf23187abae562bf53916c60fa1 (patch)
treed36aa00c7ae93ce144445638b61269d3a0dd5f50 /util
parent787304647961f4cb654188ddb88c22dd7991ab87 (diff)
parent3448d5d4874a2775f85320a2be69edd241575d46 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'util')
-rwxr-xr-xutil/install_dependencies.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/util/install_dependencies.sh b/util/install_dependencies.sh
index 936a865938..1b73a8b3bf 100755
--- a/util/install_dependencies.sh
+++ b/util/install_dependencies.sh
@@ -92,4 +92,23 @@ elif [[ -n "$(type -P zypper)" ]]; then
# TODO: The avr and eabi tools are not available as default packages, so we need
# another way to install them
+elif [[ -n "$(type -P pkg)" ]]; then
+ # FreeBSD
+ pkg update
+ pkg install -y \
+ git \
+ wget \
+ gmake \
+ gcc \
+ zip \
+ unzip \
+ avr-binutils \
+ avr-gcc \
+ avr-libc \
+ dfu-programmer \
+ dfu-util \
+ arm-none-eabi-gcc \
+ arm-none-eabi-binutils \
+ arm-none-eabi-newlib \
+ diffutils
fi