mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
64552a3b9a
This moves the following modules to a architecture-specific Makefile.dep file: - cortexm_common - cortexm_common_periph - newlib - newlib_nano - periph
24 lines
536 B
Makefile
24 lines
536 B
Makefile
ifneq (,$(filter periph_rtc,$(USEMODULE)))
|
|
USEMODULE += periph_rtc_series$(EFM32_SERIES)
|
|
endif
|
|
|
|
ifneq (,$(filter periph_rtt,$(USEMODULE)))
|
|
USEMODULE += periph_rtt_series$(EFM32_SERIES)
|
|
endif
|
|
|
|
# include Gecko SDK package
|
|
USEPKG += gecko_sdk
|
|
|
|
# include layered power management
|
|
USEMODULE += pm_layered
|
|
|
|
# CMSIS-DSP is needed for arm_math.h on Cortex-M0+ architectures
|
|
ifeq ($(CPU_ARCH),cortex-m0plus)
|
|
USEPKG += cmsis-dsp
|
|
endif
|
|
|
|
# include CPU family module
|
|
USEMODULE += cpu_$(CPU_FAM)
|
|
|
|
include $(RIOTCPU)/cortexm_common/Makefile.dep
|