summaryrefslogtreecommitdiff
path: root/util/install/sabayon.sh
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-11-27 01:37:54 +1100
committerGitHub <noreply@github.com>2020-11-26 14:37:54 +0000
commitc21d5a09735e84412ee5b3efb4c3f5d3fc734393 (patch)
treec2b8405f45fb6f00b063561056fca4c5aad28bf8 /util/install/sabayon.sh
parent3afe0ea9b9f67ae33f54c1393b15d988764241a2 (diff)
Refactor qmk_install.sh (#10681)
Diffstat (limited to 'util/install/sabayon.sh')
-rwxr-xr-xutil/install/sabayon.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/util/install/sabayon.sh b/util/install/sabayon.sh
new file mode 100755
index 0000000000..fd4f4d8dfd
--- /dev/null
+++ b/util/install/sabayon.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+_qmk_install() {
+ echo "Installing dependencies"
+
+ sudo equo install \
+ app-arch/unzip app-arch/zip net-misc/wget dev-vcs/git sys-devel/clang sys-devel/gcc sys-devel/crossdev \
+ dev-python/pip \
+ dev-embedded/avrdude dev-embedded/dfu-programmer app-mobilephone/dfu-util
+
+ sudo crossdev -s4 --stable --g \<9 --portage --verbose --target avr
+ sudo crossdev -s4 --stable --g \<9 --portage --verbose --target arm-none-eabi
+
+ python3 -m pip install --user -r $QMK_FIRMWARE_DIR/requirements.txt
+}