forked from mirror/qmk_firmware
Workaround for uart makefile issues (#23192)
This commit is contained in:
@@ -329,17 +329,6 @@ ifeq ($(strip $(USE_CHIBIOS_CONTRIB)),yes)
|
||||
EXTRAINCDIRS += $(PLATFORMINC_CONTRIB) $(HALINC_CONTRIB) $(CHIBIOS_CONTRIB)/os/various
|
||||
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
|
||||
##############################################################################
|
||||
|
||||
Reference in New Issue
Block a user