Skip to content

Commit

Permalink
put each built artifact in its own dir
Browse files Browse the repository at this point in the history
  • Loading branch information
bradjc committed Aug 4, 2023
1 parent fdf289e commit 224097b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ $(call assign-vars, elf12, F=0x10020000 R=0x20004000 T=thumbv6m-none-eabi A=cort
$(call assign-vars, elf13, F=0x10028000 R=0x2000c000 T=thumbv6m-none-eabi A=cortex-m0)

elf01 elf02 elf03 elf04 elf05 elf06 elf07 elf08 elf09 elf10 elf11 elf12 elf13:
LINKER_FLASH=$(F) LINKER_RAM=$(R) cargo build --example $(EXAMPLE) $(features) --target=$(T) $(release)
cp target/$(T)/release/examples/$(EXAMPLE) target/$(EXAMPLE)/$(A).$(F).$(R).elf
LINKER_FLASH=$(F) LINKER_RAM=$(R) cargo build --example $(EXAMPLE) $(features) --target=$(T) $(release) --out-dir target/$(A).$(F).$(R) -Z unstable-options
cp target/$(A).$(F).$(R)/$(T)/release/examples/$(EXAMPLE) target/$(EXAMPLE)/$(A).$(F).$(R).elf
$(eval ELF_LIST += target/$(EXAMPLE)/$(A).$(F).$(R).elf)

elfs: elf01 elf02 elf03 elf04 elf05 elf06 elf07 elf08 elf09 elf10 elf11 elf12 elf13
Expand Down

0 comments on commit 224097b

Please sign in to comment.