diff options
| author | Joel Challis | 2024-03-02 19:20:18 +0100 |
|---|---|---|
| committer | GitHub | 2024-03-02 19:20:18 +0100 |
| commit | 092ef661af1f970122993ad175bcc420898788ca (patch) | |
| tree | faace98c3d5503e25deafab145167832a42f7989 /platforms/chibios/platform.mk | |
| parent | 21276de7d5331a0e8ff9b27a732264a70bdf8007 (diff) | |
Workaround for uart makefile issues (#23192)
Diffstat (limited to 'platforms/chibios/platform.mk')
| -rw-r--r-- | platforms/chibios/platform.mk | 11 |
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 ############################################################################## |