From b29f7ab6fa096f4f48d602c46c2fddb533b5e8d5 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Wed, 30 Jul 2025 06:41:36 +0200 Subject: [PATCH] make BSP location for fw configurable --- fw/.gitignore | 2 +- fw/hello-world/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fw/.gitignore b/fw/.gitignore index 0e8815f..105c692 100644 --- a/fw/.gitignore +++ b/fw/.gitignore @@ -1 +1 @@ -/fir +/bsp diff --git a/fw/hello-world/Makefile b/fw/hello-world/Makefile index 376bd71..25c3cf6 100644 --- a/fw/hello-world/Makefile +++ b/fw/hello-world/Makefile @@ -13,5 +13,5 @@ LDFLAGS := -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI) compiler := $(shell which riscv64-unknown-elf-gcc) TOOL_DIR=$(dir $(compiler)) -BSP_BASE = ../bsp +BSP_BASE ?= ../bsp include $(BSP_BASE)/env/common-gcc.mk