diff options
author | Joel Challis <git@zvecr.com> | 2021-10-20 21:04:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-20 21:04:23 +0100 |
commit | 5500c428dd41348243e8a1695986b0da070e2ffa (patch) | |
tree | 1f3c6aef1451ab51cbcc3b80faa69fbb042c0b82 /tmk_core | |
parent | 84d5198ef9b4106fe61530211b5b5bb1a2fc52c8 (diff) | |
download | qmk_firmware-5500c428dd41348243e8a1695986b0da070e2ffa.tar.gz qmk_firmware-5500c428dd41348243e8a1695986b0da070e2ffa.zip |
Rename platform SRC variable (#14894)
Diffstat (limited to 'tmk_core')
-rw-r--r-- | tmk_core/chibios.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tmk_core/chibios.mk b/tmk_core/chibios.mk index ad0ffa762..c520d6025 100644 --- a/tmk_core/chibios.mk +++ b/tmk_core/chibios.mk | |||
@@ -232,7 +232,8 @@ include $(CHIBIOS)/os/rt/rt.mk | |||
232 | # Other files (optional). | 232 | # Other files (optional). |
233 | include $(CHIBIOS)/os/hal/lib/streams/streams.mk | 233 | include $(CHIBIOS)/os/hal/lib/streams/streams.mk |
234 | 234 | ||
235 | CHIBISRC = $(STARTUPSRC) \ | 235 | PLATFORM_SRC = \ |
236 | $(STARTUPSRC) \ | ||
236 | $(KERNSRC) \ | 237 | $(KERNSRC) \ |
237 | $(PORTSRC) \ | 238 | $(PORTSRC) \ |
238 | $(OSALSRC) \ | 239 | $(OSALSRC) \ |
@@ -247,7 +248,7 @@ CHIBISRC = $(STARTUPSRC) \ | |||
247 | # Ensure the ASM files are not subjected to LTO -- it'll strip out interrupt handlers otherwise. | 248 | # Ensure the ASM files are not subjected to LTO -- it'll strip out interrupt handlers otherwise. |
248 | QUANTUM_LIB_SRC += $(STARTUPASM) $(PORTASM) $(OSALASM) $(PLATFORMASM) | 249 | QUANTUM_LIB_SRC += $(STARTUPASM) $(PORTASM) $(OSALASM) $(PLATFORMASM) |
249 | 250 | ||
250 | CHIBISRC := $(patsubst $(TOP_DIR)/%,%,$(CHIBISRC)) | 251 | PLATFORM_SRC := $(patsubst $(TOP_DIR)/%,%,$(PLATFORM_SRC)) |
251 | 252 | ||
252 | EXTRAINCDIRS += $(CHIBIOS)/os/license $(CHIBIOS)/os/oslib/include \ | 253 | EXTRAINCDIRS += $(CHIBIOS)/os/license $(CHIBIOS)/os/oslib/include \ |
253 | $(TOP_DIR)/platforms/chibios/boards/$(BOARD)/configs \ | 254 | $(TOP_DIR)/platforms/chibios/boards/$(BOARD)/configs \ |
@@ -278,7 +279,7 @@ endif | |||
278 | 279 | ||
279 | ifeq ($(strip $(USE_CHIBIOS_CONTRIB)),yes) | 280 | ifeq ($(strip $(USE_CHIBIOS_CONTRIB)),yes) |
280 | include $(CHIBIOS_CONTRIB)/os/hal/hal.mk | 281 | include $(CHIBIOS_CONTRIB)/os/hal/hal.mk |
281 | CHIBISRC += $(PLATFORMSRC_CONTRIB) $(HALSRC_CONTRIB) | 282 | PLATFORM_SRC += $(PLATFORMSRC_CONTRIB) $(HALSRC_CONTRIB) |
282 | EXTRAINCDIRS += $(PLATFORMINC_CONTRIB) $(HALINC_CONTRIB) $(CHIBIOS_CONTRIB)/os/various | 283 | EXTRAINCDIRS += $(PLATFORMINC_CONTRIB) $(HALINC_CONTRIB) $(CHIBIOS_CONTRIB)/os/various |
283 | endif | 284 | endif |
284 | 285 | ||