Skip to content

Commit

Permalink
Only include libgpiod adapter on RPi
Browse files Browse the repository at this point in the history
  • Loading branch information
will-v-pi committed Sep 17, 2024
1 parent 8139329 commit 2fc323f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ SKIP_RISCV=${SKIP_RISCV-0}
SKIP_OPENOCD=${SKIP_OPENOCD-0}

# Install prerequisites
sudo apt install -y jq cmake libtool automake libusb-1.0-0-dev libhidapi-dev libftdi1-dev libgpiod-dev
sudo apt install -y jq cmake libtool automake libusb-1.0-0-dev libhidapi-dev libftdi1-dev
# RISC-V prerequisites
sudo apt install -y autoconf automake autotools-dev curl python3 python3-pip libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev ninja-build git cmake libglib2.0-dev libslirp-dev
# RPi Only prerequisites
if [[ $(uname -m) == 'aarch64' ]]; then
sudo apt install -y libgpiod-dev
fi

repos=$(cat config/repositories.json | jq -c '.repositories[]')
export version=$(cat ./version.txt)
Expand Down

0 comments on commit 2fc323f

Please sign in to comment.