Speed up build tests by only building each test to the ELF output stage (when all files are compiled and linked), rather than to the full HEX output stage as the resulting binary is not actually required.
This commit is contained in:
parent
e5a7fa201e
commit
7a7ee6a908
5 changed files with 29 additions and 30 deletions
|
@ -37,21 +37,21 @@ end:
|
|||
@echo
|
||||
|
||||
%.avr8:
|
||||
$(MAKE) -f makefile.avr8 clean -s
|
||||
$(MAKE) -f makefile.avr8 all MCU=$(@:%.avr8=%) -s
|
||||
$(MAKE) -s -f makefile.avr8 clean
|
||||
$(MAKE) -s -f makefile.avr8 all MCU=$(@:%.avr8=%) elf
|
||||
|
||||
%.xmega:
|
||||
$(MAKE) -f makefile.xmega clean -s
|
||||
$(MAKE) -f makefile.xmega all MCU=$(@:%.xmega=%) -s
|
||||
$(MAKE) -s -f makefile.xmega clean
|
||||
$(MAKE) -s -f makefile.xmega all MCU=$(@:%.xmega=%) elf
|
||||
|
||||
%.uc3:
|
||||
$(MAKE) -f makefile.uc3 clean -s
|
||||
$(MAKE) -f makefile.uc3 all MCU=$(@:%.uc3=%) -s
|
||||
$(MAKE) -s -f makefile.uc3 clean
|
||||
$(MAKE) -s -f makefile.uc3 all MCU=$(@:%.uc3=%) elf
|
||||
|
||||
clean:
|
||||
$(MAKE) -f makefile.avr8 clean -s
|
||||
$(MAKE) -f makefile.xmega clean -s
|
||||
$(MAKE) -f makefile.uc3 clean -s
|
||||
$(MAKE) -s -f makefile.avr8 clean
|
||||
$(MAKE) -s -f makefile.xmega clean
|
||||
$(MAKE) -s -f makefile.uc3 clean
|
||||
|
||||
%:
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue