From: Tim 'mithro' Ansell Date: Fri, 16 Dec 2016 17:02:28 +0000 (+0100) Subject: bios: Include dependency rebuild info. X-Git-Tag: 24jan2021_ls180~1919^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bccd2d988ba0f70bb6f50408f59cc777060d750;p=litex.git bios: Include dependency rebuild info. --- diff --git a/litex/soc/software/bios/Makefile b/litex/soc/software/bios/Makefile index 11485147..e00e4a70 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)