diff options
| author | PikalaxALT <PikalaxALT@gmail.com> | 2020-04-15 09:00:46 -0400 |
|---|---|---|
| committer | PikalaxALT <PikalaxALT@gmail.com> | 2020-04-15 09:00:46 -0400 |
| commit | b661c7888c57280a19801b320cf7860e6555f1d3 (patch) | |
| tree | 016548cf8fed0f83a16a35820c963fa3b31ee004 /Makefile | |
| parent | a5332e2f9e029ca7c0003a5cd096af3c68ace5bb (diff) | |
Truncate ROM and pad using objcopy
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -102,7 +102,7 @@ $(ELF): $(O_FILES) $(BUILD_DIR)/$(LD_SCRIPT) undefined_syms.txt $(LD) -T undefined_syms.txt -T $(BUILD_DIR)/$(LD_SCRIPT) -o $(ELF) -Map $(BUILD_DIR)/$(TARGET).map $(ROM): $(ELF) - $(OBJCOPY) -O binary --gap-fill=0xFF $< $@ + $(OBJCOPY) -O binary --gap-fill=0xFF --pad-to=0x04000000 $< $@ # Make sure build directory exists before compiling anything DUMMY != mkdir -p $(ALL_DIRS) |
