瀏覽代碼

Added gentoo support for dependency script

ThreeFx 7 年之前
父節點
當前提交
a553dcba5a
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      util/install_dependencies.sh

+ 4 - 0
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