X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=util%2Fmacos_install.sh;h=f7e3044249d5f6f30af498fc602948435b2e193f;hb=2a231457bd494079c36cf3e07c9b887016adb491;hp=d2629a8cb4aefb5bf89edc6d8ebdae31814d98d1;hpb=2bb2977c133646c4e056960e72029270d77cc1eb;p=qmk_firmware.git diff --git a/util/macos_install.sh b/util/macos_install.sh index d2629a8cb..f7e304424 100755 --- a/util/macos_install.sh +++ b/util/macos_install.sh @@ -1,5 +1,7 @@ #!/bin/bash +util_dir=$(dirname "$0") + if ! brew --version 2>&1 > /dev/null; then echo "Error! Homebrew not installed or broken!" echo -n "Would you like to install homebrew now? [y/n] " @@ -22,5 +24,6 @@ fi brew tap osx-cross/avr brew tap PX4/homebrew-px4 brew update -brew install avr-gcc@7 gcc-arm-none-eabi dfu-programmer avrdude dfu-util -brew link --force avr-gcc@7 +brew install avr-gcc@8 gcc-arm-none-eabi dfu-programmer avrdude dfu-util python3 +brew link --force avr-gcc@8 +pip3 install -r ${util_dir}/../requirements.txt