mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-28 07:51:19 +01:00
cpu/efm32/Makefile: DIRS based on USEMODULE
This commit is contained in:
parent
67ec9a298d
commit
5715f13323
@ -1,6 +1,26 @@
|
||||
MODULE = cpu
|
||||
|
||||
# add a list of subdirectories, that should also be build
|
||||
DIRS = periph families/$(EFM32_FAMILY) $(RIOTCPU)/cortexm_common
|
||||
DIRS += periph
|
||||
DIRS += $(RIOTCPU)/cortexm_common
|
||||
|
||||
ifneq (,$(filter cpu_efm32gg,$(USEMODULE)))
|
||||
DIRS += families/efm32gg
|
||||
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_efr32mg1p,$(USEMODULE)))
|
||||
DIRS += families/efr32mg1p
|
||||
endif
|
||||
ifneq (,$(filter cpu_efr32mg12p,$(USEMODULE)))
|
||||
DIRS += families/efr32mg12p
|
||||
endif
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user