Skip to content

Commit 224097b

Browse files
committed
put each built artifact in its own dir
1 parent fdf289e commit 224097b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ $(call assign-vars, elf12, F=0x10020000 R=0x20004000 T=thumbv6m-none-eabi A=cort
205205
$(call assign-vars, elf13, F=0x10028000 R=0x2000c000 T=thumbv6m-none-eabi A=cortex-m0)
206206

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

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

0 commit comments

Comments
 (0)