X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=util%2Finstall_dependencies.sh;h=227c86f87fb39d3628c6779d69ebae37f9bcf3e2;hb=004826e1b833725b93f9f809ba77b1f967aa9232;hp=49ac86e07235d0d1b5ca18baabea28616c489eee;hpb=af24ea558a65fea549bd9f57a9704b904972d2f7;p=qmk_firmware.git diff --git a/util/install_dependencies.sh b/util/install_dependencies.sh old mode 100644 new mode 100755 index 49ac86e07..227c86f87 --- a/util/install_dependencies.sh +++ b/util/install_dependencies.sh @@ -68,9 +68,8 @@ elif [[ -n "$(type -P yum)" ]]; then avr-libc \ dfu-programmer \ dfu-util \ - gcc-arm-none-eabi \ - binutils-arm-none-eabi \ - libnewlib-arm-none-eabi \ + arm-none-eabi-gcc-cs \ + arm-none-eabi-newlib \ git \ diffutils # The listed eabi pacackes do unfortunately not exist for CentOS, @@ -93,4 +92,27 @@ 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 +elif [[ -n "$(type -P emerge)" ]]; then + echo 'Please check that your gcc is built with the multilib use flag enabled.' + emerge -vq sys-devel/crossdev + USE="-openmp -hardened -sanitize -vtv" crossdev -s4 --stable --g =4.9.4 --portage --verbose --target avr fi