mirror of
https://github.com/linux-msm/qrtr.git
synced 2024-11-01 10:18:06 +00:00
26 lines
402 B
Bash
Executable File
26 lines
402 B
Bash
Executable File
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Copyright (c) 2021 Canonical Ltd.
|
|
# Copyright (c) 2023 Linaro Ltd
|
|
# Author: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
|
|
# <krzk@kernel.org>
|
|
#
|
|
|
|
set -ex
|
|
|
|
PKGS_CC="gcc"
|
|
case $CC in
|
|
clang*)
|
|
PKGS_CC="clang"
|
|
;;
|
|
esac
|
|
|
|
pacman -Syu --noconfirm \
|
|
systemd-libs \
|
|
pkgconf \
|
|
meson \
|
|
$PKGS_CC
|
|
|
|
echo "Install finished: $0"
|