mirror of
https://github.com/linux-msm/cdba.git
synced 2026-02-25 13:11:56 -08:00
This driver permits controlling local (on the system) gpios by using the libgpiod library. Support for gpiod v1 and v2 is added, and parses the options via the yaml parser. This can be tested with the gpio-sim module: https://docs.kernel.org/admin-guide/gpio/gpio-sim.html Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
29 lines
443 B
Bash
Executable File
29 lines
443 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 \
|
|
libftdi-compat \
|
|
libyaml \
|
|
systemd-libs \
|
|
libgpiod \
|
|
pkgconf \
|
|
meson \
|
|
$PKGS_CC
|
|
|
|
echo "Install finished: $0"
|