From 4fbbeee0d970ec86ab5b100461104a1db7be746d Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Sat, 10 Jun 2017 13:15:18 -0700 Subject: Pass the BSP_BASE and BOARD variables to "make software_clean" Without these, "software_clean" doesn't know where to remove init.o, which means init.o isn't being rebuilt when moving between programs. Since we turn on and off init features, this causes programs to break. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0e12777..b69710d 100644 --- a/Makefile +++ b/Makefile @@ -190,7 +190,7 @@ PROGRAM_ELF = software/$(PROGRAM)/$(PROGRAM) .PHONY: software_clean software_clean: - $(MAKE) -C $(PROGRAM_DIR) clean + $(MAKE) -C $(PROGRAM_DIR) BSP_BASE=$(abspath bsp) BOARD=$(BOARD) clean .PHONY: software software: software_clean -- cgit v1.2.3