aboutsummaryrefslogtreecommitdiffstats
path: root/platforms/chibios/platform.mk
diff options
context:
space:
mode:
authorJoel Challis2024-03-02 19:20:18 +0100
committerGitHub2024-03-02 19:20:18 +0100
commit092ef661af1f970122993ad175bcc420898788ca (patch)
treefaace98c3d5503e25deafab145167832a42f7989 /platforms/chibios/platform.mk
parent21276de7d5331a0e8ff9b27a732264a70bdf8007 (diff)
Workaround for uart makefile issues (#23192)
Diffstat (limited to 'platforms/chibios/platform.mk')
-rw-r--r--platforms/chibios/platform.mk11
1 files changed, 0 insertions, 11 deletions
diff --git a/platforms/chibios/platform.mk b/platforms/chibios/platform.mk
index a2178412f3..f38a888012 100644
--- a/platforms/chibios/platform.mk
+++ b/platforms/chibios/platform.mk
@@ -330,17 +330,6 @@ ifeq ($(strip $(USE_CHIBIOS_CONTRIB)),yes)
endif
#
-# Extract supported HAL drivers
-##############################################################################
-
-define add_lld_driver_define
- $(eval driver := $(word 2,$(subst /LLD/, ,$(1))))
- $(eval OPT_DEFS += -DCHIBIOS_HAL_$(driver))
-endef
-
-$(foreach dir,$(EXTRAINCDIRS),$(if $(findstring /LLD/,$(dir)),$(call add_lld_driver_define,$(dir))))
-
-#
# Project, sources and paths
##############################################################################