Small clean-up
This commit is contained in:
parent
20328b3226
commit
ab03979c8e
|
@ -8,11 +8,9 @@ $(TARGET).elf: $(OBJS) $(JABY_ENGINE_LIB_DIR)/lib$(JABY_ENGINE_LIB_NAME).a
|
|||
|
||||
#Strips the psexe
|
||||
$(TARGET).psexe: $(TARGET).elf
|
||||
#mipsel-linux-gnu-objcopy -R .main_area -O binary bin/PSX-release/JabyAdventure.elf bin/PSX-release/JabyAdventure.psexe
|
||||
$(PREFIX)-objcopy $(addprefix -R , $(OVERLAYSECTION)) -O binary $< $@
|
||||
|
||||
$(foreach ovl, $(OVERLAYSECTION), $(OUTPUT_DIR)/Overlay$(ovl)): $(TARGET).elf
|
||||
#mipsel-linux-gnu-objcopy -j bin/PSX-release/Overlay.main_area -O binary bin/PSX-release/JabyAdventure.elf bin/PSX-release/Overlaybin/PSX-release/Overlay.main_area
|
||||
$(PREFIX)-objcopy -j $(suffix $@) -O binary $< $@
|
||||
|
||||
#Rules section for default compilation and linking
|
||||
|
|
Loading…
Reference in New Issue