From 8bccd2d988ba0f70bb6f50408f59cc777060d750 Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Fri, 16 Dec 2016 18:02:28 +0100 Subject: [PATCH] bios: Include dependency rebuild info. --- litex/soc/software/bios/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/soc/software/bios/Makefile b/litex/soc/software/bios/Makefile index 114851472..e00e4a706 100644 --- a/litex/soc/software/bios/Makefile +++ b/litex/soc/software/bios/Makefile @@ -22,8 +22,8 @@ bios.elf: $(BIOS_DIRECTORY)/linker.ld $(OBJECTS) -lnet -lbase-nofloat -lcompiler_rt chmod -x $@ -main.o: $(BIOS_DIRECTORY)/main.c - $(compile) +# pull in dependency info for *existing* .o files +-include $(OBJECTS:.o=.d) %.o: $(BIOS_DIRECTORY)/%.c $(compile)