diff options
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 ############################################################################## |