diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2017-06-10 13:15:18 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-06-10 13:15:18 -0700 |
commit | 4fbbeee0d970ec86ab5b100461104a1db7be746d (patch) | |
tree | 2133fcb2d138affa43db7296dc478db2bcb7e617 | |
parent | 2c5694f5f6f45884a4c3ed3aa1202f303a45ce42 (diff) |
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.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |