1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-16 11:32:44 +01:00
RIOT/pkg/mynewt-core/contrib/Makefile
2021-07-06 14:52:24 +02:00

13 lines
262 B
Makefile

MODULE = mynewt-core
# exclude submodule sources from *.c wildcard source selection
SRC := $(filter-out nrf5x_isr.c cputime.c,$(wildcard *.c))
ifneq (,$(filter nrf%,$(CPU)))
SRC += nrf5x_isr.c
else
SRC += cputime.c
endif
include $(RIOTBASE)/Makefile.base