summaryrefslogtreecommitdiffstats
path: root/builddefs/common_features.mk
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-09-30 12:57:20 +1000
committerGitHub <noreply@github.com>2022-09-29 19:57:20 -0700
commit168b69654fe9101e4278a0620032e88b8049eb45 (patch)
tree819a1ec2ac7d10b87a97616b469de17fa7d6ca01 /builddefs/common_features.mk
parent917c12d973f73b79dfc7337b3a0a2331dface569 (diff)
Explicitly specify path to RP2040 wear_leveling config file. (#18541)
Diffstat (limited to 'builddefs/common_features.mk')
-rw-r--r--builddefs/common_features.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
index a23b5e82b9..cb2ab3d778 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -271,7 +271,7 @@ ifneq ($(strip $(WEAR_LEVELING_DRIVER)),none)
POST_CONFIG_H += $(DRIVER_PATH)/wear_leveling/wear_leveling_flash_spi_config.h
else ifeq ($(strip $(WEAR_LEVELING_DRIVER)), rp2040_flash)
SRC += wear_leveling_rp2040_flash.c
- POST_CONFIG_H += $(DRIVER_PATH)/wear_leveling/wear_leveling_rp2040_flash_config.h
+ POST_CONFIG_H += $(PLATFORM_PATH)/$(PLATFORM_KEY)/$(DRIVER_PATH)/wear_leveling/wear_leveling_rp2040_flash_config.h
else ifeq ($(strip $(WEAR_LEVELING_DRIVER)), legacy)
COMMON_VPATH += $(PLATFORM_PATH)/$(PLATFORM_KEY)/$(DRIVER_DIR)/flash
SRC += flash_stm32.c wear_leveling_legacy.c