From 48034f7e2ed893aad04f113861290e9c2c8d5dd4 Mon Sep 17 00:00:00 2001 From: "A. Maitland Bottoms" Date: Sun, 17 Aug 2025 16:27:40 -0400 Subject: [PATCH] update scripts Modernize CMake usage in scripts to define a build directory using the cmake -B flag, use cmake --build rather than just make. --- ci-scripts/install-firmware.sh | 9 ++++----- ci-scripts/install-host.sh | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/ci-scripts/install-firmware.sh b/ci-scripts/install-firmware.sh index 04d9996c..a50785a8 100755 --- a/ci-scripts/install-firmware.sh +++ b/ci-scripts/install-firmware.sh @@ -2,8 +2,7 @@ set -e git submodule init git submodule update -mkdir firmware/hackrf_usb/build -cd firmware/hackrf_usb/build -cmake .. -make -cd ../../.. +cd firmware/hackrf_usb +cmake -B build +cmake --build build +cd ../.. diff --git a/ci-scripts/install-host.sh b/ci-scripts/install-host.sh index 70277d53..29bfb1d1 100755 --- a/ci-scripts/install-host.sh +++ b/ci-scripts/install-host.sh @@ -1,7 +1,6 @@ #!/bin/bash set -e -mkdir host/build -cd host/build -cmake .. -make -cd ../.. +cd host +cmake -B build +cmake --build build +cd ..