From 3fe0e2f4e46665493868432ce2e2af85a2aa8480 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Fri, 21 May 2021 13:57:40 -0600 Subject: [PATCH] Add hidapi deps ectool uses hidapi, which requires cc and pkg-config to be available. This fixes building ectool on a minimal install system. --- scripts/deps.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/deps.sh b/scripts/deps.sh index 612f6fd..a86ba16 100755 --- a/scripts/deps.sh +++ b/scripts/deps.sh @@ -20,9 +20,12 @@ if [[ "${ID}" =~ "debian" ]] || [[ "${ID_LIKE}" =~ "debian" ]]; then avr-libc \ avrdude \ curl \ + gcc \ gcc-avr \ + libc-dev \ libudev-dev \ make \ + pkgconf \ sdcc \ xxd elif [[ "${ID}" =~ "fedora" ]] || [[ "${ID_LIKE}" =~ "fedora" ]]; then @@ -32,6 +35,7 @@ elif [[ "${ID}" =~ "fedora" ]] || [[ "${ID_LIKE}" =~ "fedora" ]]; then avr-libc \ avrdude \ curl \ + gcc \ make \ sdcc \ systemd-devel \ @@ -43,7 +47,9 @@ elif [[ "${ID}" =~ "arch" ]] || [[ "${ID_LIKE}" =~ "arch" ]]; then avr-libc \ avrdude \ curl \ + gcc \ make \ + pkgconf \ sdcc \ systemd-libs \ vim