mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-24 14:17:51 -04:00
[sw] add build dir as dependency of main.bin
This commit is contained in:
parent
44c4c48ffc
commit
8965da8b60
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ $(APP_ASM): $(APP_ELF)
|
|||
@$(OBJDUMP) -d -S -z $< > $@
|
||||
|
||||
# Generate final executable from .text + .rodata + .data (in THIS order!)
|
||||
$(BIN_MAIN): $(APP_ELF)
|
||||
$(BIN_MAIN): $(APP_ELF) | $(BUILD_DIR)
|
||||
@$(OBJCOPY) -I elf32-little $< -j .text -O binary text.bin
|
||||
@$(OBJCOPY) -I elf32-little $< -j .rodata -O binary rodata.bin
|
||||
@$(OBJCOPY) -I elf32-little $< -j .data -O binary data.bin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue