summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThreeFx <ben@sjfiedler.de>2017-08-20 00:24:51 +0200
committerJack Humbert <jack.humb@gmail.com>2017-08-20 11:17:19 -0400
commita553dcba5ad000e62305b8001b5f2cf863c81935 (patch)
tree37884877a7ace8aeb61f82399a6975493fb2fc9e
parent5cab5e4a4e446efbab079e9638a506c0f7e291e8 (diff)
Added gentoo support for dependency script
-rwxr-xr-xutil/install_dependencies.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/install_dependencies.sh b/util/install_dependencies.sh
index 1b73a8b3bf..99368950b1 100755
--- a/util/install_dependencies.sh
+++ b/util/install_dependencies.sh
@@ -111,4 +111,8 @@ elif [[ -n "$(type -P pkg)" ]]; then
arm-none-eabi-binutils \
arm-none-eabi-newlib \
diffutils
+elif [[ -n "$(type 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