mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-24 05:55:01 +03:00
MD5 CHECK
This commit is contained in:
parent
ab9c0f9837
commit
32bcc57984
3
Makefile
3
Makefile
@ -207,6 +207,7 @@ init:
|
|||||||
|
|
||||||
uncompressed: $(ROM)
|
uncompressed: $(ROM)
|
||||||
ifneq ($(COMPARE),0)
|
ifneq ($(COMPARE),0)
|
||||||
|
@echo MD5 CHECK:
|
||||||
@md5sum $(ROM)
|
@md5sum $(ROM)
|
||||||
@md5sum -c $(TARGET).$(VERSION).uncompressed.md5
|
@md5sum -c $(TARGET).$(VERSION).uncompressed.md5
|
||||||
endif
|
endif
|
||||||
@ -251,6 +252,7 @@ expected:
|
|||||||
#### Various Recipes ####
|
#### Various Recipes ####
|
||||||
|
|
||||||
$(ROM): $(ELF)
|
$(ROM): $(ELF)
|
||||||
|
@echo "ELF->ROM:"
|
||||||
$(OBJCOPY) -O binary $< $@
|
$(OBJCOPY) -O binary $< $@
|
||||||
|
|
||||||
$(ROMC): $(BASEROM_UNCOMPRESSED)
|
$(ROMC): $(BASEROM_UNCOMPRESSED)
|
||||||
@ -261,6 +263,7 @@ $(ROMC): $(BASEROM_UNCOMPRESSED)
|
|||||||
|
|
||||||
# TODO: avoid using auto/undefined
|
# 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
|
$(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) \
|
$(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)/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 \
|
-T $(BUILD_DIR)/linker_scripts/$(VERSION)/auto/undefined_syms_auto.ld -T $(BUILD_DIR)/linker_scripts/$(VERSION)/auto/undefined_funcs_auto.ld \
|
||||||
|
Loading…
Reference in New Issue
Block a user