summaryrefslogtreecommitdiff
path: root/util/linux_install.sh
diff options
context:
space:
mode:
authorskullydazed <skullydazed@users.noreply.github.com>2019-07-09 15:47:18 -0700
committerskullydazed <skullydazed@users.noreply.github.com>2019-08-30 15:01:52 -0700
commit9e20478e6bdebc9cea49204482992471bccaf6a1 (patch)
treed732aaed923b65cf832345e7bfdc2dfe0f8cea20 /util/linux_install.sh
parent51ee2449060517a96cedb7c38b86a7de0be2ecab (diff)
Enforce clang-format (#6293)
* Enforce clang-format on commit for core files * forgot about tests
Diffstat (limited to 'util/linux_install.sh')
-rwxr-xr-xutil/linux_install.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/util/linux_install.sh b/util/linux_install.sh
index d21cd3c1c9..5f29cad941 100755
--- a/util/linux_install.sh
+++ b/util/linux_install.sh
@@ -19,6 +19,7 @@ if grep ID /etc/os-release | grep -qE "fedora"; then
avr-gcc \
avr-libc \
binutils-avr32-linux-gnu \
+ clang \
dfu-util \
dfu-programmer \
diffutils \
@@ -44,6 +45,7 @@ elif grep ID /etc/os-release | grep -qE 'debian|ubuntu'; then
avr-libc \
binutils-arm-none-eabi \
binutils-avr \
+ clang-format \
dfu-programmer \
dfu-util \
diffutils \
@@ -68,6 +70,7 @@ elif grep ID /etc/os-release | grep -q 'arch\|manjaro'; then
avr-libc \
avr-gcc \
base-devel \
+ clang \
dfu-util \
diffutils \
gcc \
@@ -96,6 +99,7 @@ elif grep ID /etc/os-release | grep -q gentoo; then
dev-embedded/avrdude \
dev-lang/python:3.5 \
net-misc/wget \
+ sys-devel/clang \
sys-devel/gcc \
sys-devel/crossdev
sudo crossdev -s4 --stable --g =4.9.4 --portage --verbose --target avr
@@ -112,6 +116,7 @@ elif grep ID /etc/os-release | grep -q sabayon; then
dev-embedded/avrdude \
dev-lang/python \
net-misc/wget \
+ sys-devel/clang \
sys-devel/gcc \
sys-devel/crossdev
sudo crossdev -s4 --stable --g =4.9.4 --portage --verbose --target avr
@@ -126,6 +131,7 @@ elif grep ID /etc/os-release | grep -qE "opensuse|tumbleweed"; then
fi
sudo zypper install \
avr-libc \
+ clang \
$CROSS_AVR_GCC \
$CROSS_ARM_GCC \
cross-avr-binutils \