mirror of
https://github.com/pmret/papermario.git
synced 2024-09-20 00:11:48 +02:00
generate ld_addrs.h without splat
This commit is contained in:
parent
eb996eea77
commit
7828969e61
2
Makefile
2
Makefile
@ -213,6 +213,8 @@ $(BUILD_DIR)/$(TARGET).elf: $(BUILD_DIR)/$(LD_SCRIPT) $(OBJECTS)
|
|||||||
$(BUILD_DIR)/$(TARGET).bin: $(BUILD_DIR)/$(TARGET).elf
|
$(BUILD_DIR)/$(TARGET).bin: $(BUILD_DIR)/$(TARGET).elf
|
||||||
$(OBJCOPY) $< $@ -O binary
|
$(OBJCOPY) $< $@ -O binary
|
||||||
|
|
||||||
|
include/ld_addrs.h: $(BUILD_DIR)/$(LD_SCRIPT)
|
||||||
|
grep -E "[^ ]+ =" $< -o | sed 's/^/extern void* /; s/ =/;/' > $@
|
||||||
|
|
||||||
### Make Settings ###
|
### Make Settings ###
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 42c5f587eb8b2bc669f2710c93ff10c46ae48dc3
|
Subproject commit c78e4fe9d863d4b3fa203af5f8b7179bb1c7c82f
|
Loading…
Reference in New Issue
Block a user