It depends on which compiler you are using.
If you are using GCC you need to replace line 450
$(ELF_TOOL) -O srec $(MODEL).elf $(MODEL).mot
with
$(ELF_TOOL) -O binary $(MODEL).elf $(MODEL).bin
For GCC you have the following options:
srec Save as Motorola S-records
$(ELF_TOOL) -O srec $(MODEL).elf $(MODEL).s19
binary Save as raw binary
$(ELF_TOOL) -O binary $(MODEL).elf $(MODEL).bin
ihex Save as Intel hex
$(ELF_TOOL) -O ihex $(MODEL).elf $(MODEL).hex
If you are using IAR you replace line 453
$(ELF_TOOL) $(MODEL).elf $(MODEL).mot --srec --silent
with
$(ELF_TOOL) $(MODEL).elf $(MODEL).bin --bin --silent
For IAR you have the following options:
--srec Save as Motorola S-records
$(ELF_TOOL) $(MODEL).elf $(MODEL).s19 --srec --silent
--ihex Save as Intel hex
$(ELF_TOOL) $(MODEL).elf $(MODEL).hex --ihex --silent
--bin Save as raw binary
$(ELF_TOOL) $(MODEL).elf $(MODEL).bin --bin --silent
ATTENTION: Lines 450 and 453 should start with a tab.
I see that you are using the old version of toolbox, MCToolbox for S32K, you can get for free the new version, MBDToolbox for S32K from NXP Motor Control Toolbox