diff options
author | Nick Brassel <nick@tzarc.org> | 2022-07-02 15:18:50 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-02 15:18:50 +1000 |
commit | 5846b40f7444af96b0d8ddf3af9b558193c2475d (patch) | |
tree | 7bec13529ef3654ed290e68617eb1c659c05a49d /platforms/chibios/platform.mk | |
parent | 9f1c4f304d0597b7024d079eb358bb0c71be3ce8 (diff) | |
download | qmk_firmware-5846b40f7444af96b0d8ddf3af9b558193c2475d.tar.gz qmk_firmware-5846b40f7444af96b0d8ddf3af9b558193c2475d.zip |
RP2040 emulated EEPROM. (#17519)
Diffstat (limited to 'platforms/chibios/platform.mk')
-rw-r--r-- | platforms/chibios/platform.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platforms/chibios/platform.mk b/platforms/chibios/platform.mk index 32b8c5a946..63cc1a4b33 100644 --- a/platforms/chibios/platform.mk +++ b/platforms/chibios/platform.mk @@ -351,8 +351,11 @@ SHARED_CFLAGS = -fomit-frame-pointer \ -fno-common \ -fshort-wchar +LDSCRIPT_PATH := $(shell dirname "$(LDSCRIPT)") + # Shared Linker flags for all toolchains SHARED_LDFLAGS = -T $(LDSCRIPT) \ + -L $(LDSCRIPT_PATH) \ -Wl,--gc-sections \ -nostartfiles |