diff options
author | Damien <Dbroqua@users.noreply.github.com> | 2016-08-29 22:33:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-29 22:33:50 +0200 |
commit | af24ea558a65fea549bd9f57a9704b904972d2f7 (patch) | |
tree | 50cd382df7dac58057c958f62732174cf0dfe920 /util/install_dependencies.sh | |
parent | 8e058135e2905d6a2ec281d29e5a93cb808bd8a5 (diff) | |
parent | 6d1e916851daa7bcbd8ef31b6fbc73cb369ef1f0 (diff) | |
download | firmware-af24ea558a65fea549bd9f57a9704b904972d2f7.tar.gz firmware-af24ea558a65fea549bd9f57a9704b904972d2f7.tar.bz2 firmware-af24ea558a65fea549bd9f57a9704b904972d2f7.zip |
Merge pull request #3 from jackhumbert/master
Merge from jackhumbert
Diffstat (limited to 'util/install_dependencies.sh')
-rw-r--r-- | util/install_dependencies.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/util/install_dependencies.sh b/util/install_dependencies.sh index 24564a2ac..49ac86e07 100644 --- a/util/install_dependencies.sh +++ b/util/install_dependencies.sh @@ -20,7 +20,8 @@ if [[ -n "$(type -P pacman )" ]]; then arm-none-eabi-gcc \ arm-none-eabi-binutils \ arm-none-eabi-newlib \ - git + git \ + diffutils elif [[ -n "$(type -P apt-get)" ]]; then # Debian and derivatives @@ -47,7 +48,8 @@ elif [[ -n "$(type -P apt-get)" ]]; then gcc-arm-none-eabi \ binutils-arm-none-eabi \ libnewlib-arm-none-eabi \ - git + git \ + diffutils elif [[ -n "$(type -P yum)" ]]; then # Fedora, CentOS or RHEL and derivatives @@ -69,7 +71,8 @@ elif [[ -n "$(type -P yum)" ]]; then gcc-arm-none-eabi \ binutils-arm-none-eabi \ libnewlib-arm-none-eabi \ - git + git \ + diffutils # The listed eabi pacackes do unfortunately not exist for CentOS, # But at least in Fedora they do, so try to install them anyway # TODO: Build them from sources, if the installation fails @@ -85,7 +88,8 @@ elif [[ -n "$(type -P zypper)" ]]; then patch \ wget \ dfu-programmer \ - git + git \ + diffutils # TODO: The avr and eabi tools are not available as default packages, so we need # another way to install them |