We use which to find a compatible RV32 compiler.

This commit is contained in:
Nick Brassel
2025-08-07 08:51:38 +10:00
parent d425385664
commit cabda8be67
3 changed files with 1 additions and 6 deletions

View File

@@ -32,7 +32,6 @@ TARGET ?= $(KEYBOARD_FILESAFE)_$(KEYMAP)
ifeq ($(strip $(DUMP_CI_METADATA)),yes)
$(info CI Metadata: KEYBOARD=$(KEYBOARD))
$(info CI Metadata: KEYMAP=$(KEYMAP))
$(info PATH=$(PATH))
endif
# Force expansion

View File

@@ -37,10 +37,6 @@ def mass_compile_targets(targets: List[BuildTarget], clean: bool, dry_run: bool,
builddir.mkdir(parents=True, exist_ok=True)
with open(makefile, "w") as f:
f.write(f"""\
$(info PATH=$(PATH))
"""# noqa
)
for target in sorted(targets, key=lambda t: (t.keyboard, t.keymap)):
keyboard_name = target.keyboard
keymap_name = target.keymap

View File

@@ -205,7 +205,7 @@ __EOT__
case $(grep ID /etc/os-release) in
*arch* | *manjaro* | *cachyos*) echo "zstd base-devel clang diffutils unzip wget zip hidapi dos2unix git" ;;
*debian* | *ubuntu*) echo "zstd build-essential clang-format diffutils unzip wget zip libhidapi-hidraw0 dos2unix git" ;;
*fedora*) echo "zstd clang diffutils gcc git unzip wget zip hidapi dos2unix libusb-devel libusb1-devel libusb-compat-0.1-devel libusb0-devel git epel-release" ;;
*fedora*) echo "zstd clang diffutils which gcc git unzip wget zip hidapi dos2unix libusb-devel libusb1-devel libusb-compat-0.1-devel libusb0-devel git epel-release" ;;
*)
echo >&2
echo "Sorry, we don't recognize your distribution." >&2