MD5 CHECK

This commit is contained in:
Alejandro Javier Asenjo Nitti 2023-10-16 12:58:34 -03:00
parent ab9c0f9837
commit 32bcc57984

View File

@ -207,6 +207,7 @@ init:
uncompressed: $(ROM)
ifneq ($(COMPARE),0)
@echo MD5 CHECK:
@md5sum $(ROM)
@md5sum -c $(TARGET).$(VERSION).uncompressed.md5
endif
@ -251,6 +252,7 @@ expected:
#### Various Recipes ####
$(ROM): $(ELF)
@echo "ELF->ROM:"
$(OBJCOPY) -O binary $< $@
$(ROMC): $(BASEROM_UNCOMPRESSED)
@ -261,6 +263,7 @@ $(ROMC): $(BASEROM_UNCOMPRESSED)
# TODO: avoid using auto/undefined
$(ELF): $(LIBULTRA_O) $(O_FILES) $(LD_SCRIPT) $(BUILD_DIR)/linker_scripts/$(VERSION)/hardware_regs.ld $(BUILD_DIR)/linker_scripts/$(VERSION)/undefined_syms.ld $(BUILD_DIR)/linker_scripts/$(VERSION)/pif_syms.ld $(BUILD_DIR)/linker_scripts/$(VERSION)/auto/undefined_syms_auto.ld $(BUILD_DIR)/linker_scripts/$(VERSION)/auto/undefined_funcs_auto.ld
@echo "Linking..."
$(LD) $(LDFLAGS) -T $(LD_SCRIPT) \
-T $(BUILD_DIR)/linker_scripts/$(VERSION)/hardware_regs.ld -T $(BUILD_DIR)/linker_scripts/$(VERSION)/undefined_syms.ld -T $(BUILD_DIR)/linker_scripts/$(VERSION)/pif_syms.ld \
-T $(BUILD_DIR)/linker_scripts/$(VERSION)/auto/undefined_syms_auto.ld -T $(BUILD_DIR)/linker_scripts/$(VERSION)/auto/undefined_funcs_auto.ld \