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
committerFlorian Didron <fdidron@users.noreply.github.com>2019-10-01 10:21:12 +0900
commitd5d631691dc42a393e7528973ef292ee460f6a11 (patch)
treeed8aa0c7bbe729fdb9ffa0c890920309cfba083c /util/linux_install.sh
parent31f8c4eb3a60357412cb59d423756e8cd307f588 (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 473c6b69a6..fa8afdcda6 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 \