Rebuild when changing the bootloader

This commit is contained in:
Klemens Schölhorn 2018-06-13 00:33:46 +02:00
parent c812a8878f
commit ee888b8c7b

View File

@ -63,7 +63,7 @@ endif
verilog: $(verilog)
romgen := $(BUILD_DIR)/$(CONFIG_PROJECT).$(CONFIG).rom.v
$(romgen): $(verilog)
$(romgen): $(verilog) $(BOOTROM_DIR)
ifneq ($(BOOTROM_DIR),"")
$(MAKE) -C $(BOOTROM_DIR) romgen
mv $(BUILD_DIR)/rom.v $@