generate ld_addrs.h without splat

This commit is contained in:
Alex Bates 2020-11-02 19:18:21 +00:00
parent eb996eea77
commit 7828969e61
2 changed files with 3 additions and 1 deletions

View File

@ -213,6 +213,8 @@ $(BUILD_DIR)/$(TARGET).elf: $(BUILD_DIR)/$(LD_SCRIPT) $(OBJECTS)
$(BUILD_DIR)/$(TARGET).bin: $(BUILD_DIR)/$(TARGET).elf
$(OBJCOPY) $< $@ -O binary
include/ld_addrs.h: $(BUILD_DIR)/$(LD_SCRIPT)
grep -E "[^ ]+ =" $< -o | sed 's/^/extern void* /; s/ =/;/' > $@
### Make Settings ###

@ -1 +1 @@
Subproject commit 42c5f587eb8b2bc669f2710c93ff10c46ae48dc3
Subproject commit c78e4fe9d863d4b3fa203af5f8b7179bb1c7c82f