wut_rules: rpx/rpl: use unstripped ELF directly

This commit is contained in:
fincs 2020-12-13 16:21:33 +01:00
parent 2ae085d528
commit 7c67d8baa3
No known key found for this signature in database
GPG Key ID: 62C7609ADA219C60

View File

@ -25,18 +25,12 @@ MACHDEP = -DESPRESSO -mcpu=750 -meabi -mhard-float
#---------------------------------------------------------------------------------
%.rpx: %.elf
@cp $< $*.strip.elf
$(SILENTCMD)$(STRIP) -g $*.strip.elf $(ERROR_FILTER)
$(SILENTCMD)elf2rpl $*.strip.elf $@ $(ERROR_FILTER)
@rm $*.strip.elf
$(SILENTCMD)elf2rpl $< $@ $(ERROR_FILTER)
@echo built ... $(notdir $@)
#---------------------------------------------------------------------------------
%.rpl: %.elf
@cp $< $*.strip.elf
$(SILENTCMD)$(STRIP) -g $*.strip.elf $(ERROR_FILTER)
$(SILENTCMD)elf2rpl --rpl $*.strip.elf $@ $(ERROR_FILTER)
@rm $*.strip.elf
$(SILENTCMD)elf2rpl --rpl $< $@ $(ERROR_FILTER)
@echo built ... $(notdir $@)
#---------------------------------------------------------------------------------