From 7c67d8baa330ad8a5299ea77b29c87cf4b4c8c7e Mon Sep 17 00:00:00 2001 From: fincs Date: Sun, 13 Dec 2020 16:21:33 +0100 Subject: [PATCH] wut_rules: rpx/rpl: use unstripped ELF directly --- share/wut_rules | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/share/wut_rules b/share/wut_rules index c34ed45..d334260 100644 --- a/share/wut_rules +++ b/share/wut_rules @@ -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 $@) #---------------------------------------------------------------------------------