Merge pull request #1140 from stites/freebsd

Add FreeBSD support in "util/install_dependencies.sh"
This commit is contained in:
Jack Humbert 2017-03-08 18:36:34 -05:00 committed by GitHub
commit 97c4c570e2
1 changed files with 19 additions and 0 deletions

View File

@ -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 # TODO: The avr and eabi tools are not available as default packages, so we need
# another way to install them # 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 fi