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