1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/efm32/Makefile
2023-09-18 12:40:33 +02:00

53 lines
1.3 KiB
Makefile

MODULE = cpu
# add a list of subdirectories, that should also be build
DIRS += periph
DIRS += $(RIOTCPU)/cortexm_common
ifneq (,$(filter cpu_efm32gg,$(USEMODULE)))
DIRS += families/efm32gg
endif
ifneq (,$(filter cpu_efm32gg11b,$(USEMODULE)))
DIRS += families/efm32gg11b
endif
ifneq (,$(filter cpu_efm32gg12b,$(USEMODULE)))
DIRS += families/efm32gg12b
endif
ifneq (,$(filter cpu_efm32hg,$(USEMODULE)))
DIRS += families/efm32hg
endif
ifneq (,$(filter cpu_efm32lg,$(USEMODULE)))
DIRS += families/efm32lg
endif
ifneq (,$(filter cpu_efm32pg1b,$(USEMODULE)))
DIRS += families/efm32pg1b
endif
ifneq (,$(filter cpu_efm32pg12b,$(USEMODULE)))
DIRS += families/efm32pg12b
endif
ifneq (,$(filter cpu_efm32zg,$(USEMODULE)))
DIRS += families/efm32zg
endif
ifneq (,$(filter cpu_efr32mg1b,$(USEMODULE)))
DIRS += families/efr32mg1b
endif
ifneq (,$(filter cpu_efr32mg1p,$(USEMODULE)))
DIRS += families/efr32mg1p
endif
ifneq (,$(filter cpu_efr32mg12p,$(USEMODULE)))
DIRS += families/efr32mg12p
endif
ifneq (,$(filter cpu_efr32zg23,$(USEMODULE)))
DIRS += families/efr32zg23
endif
ifneq (,$(filter cpu_ezr32wg,$(USEMODULE)))
DIRS += families/ezr32wg
endif
# add EFM32 specific drivers, if enabled
ifneq (,$(filter efm32_coretemp,$(USEMODULE)))
DIRS += drivers/coretemp
endif
include $(RIOTBASE)/Makefile.base