aboutsummaryrefslogtreecommitdiff
path: root/src/sources.mk
blob: 8616e46f3dd9ba54a20f580487bbf5de4eac7ec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# vim:ts=4:sw=4:sts=4:noexpandtab

# Essential sources
SRC = base.c

# IO ports
ifeq (y,$(CONFIG_IOPORTS))
SRC += ioport.c
endif

# SPI
ifeq (y,$(CONFIG_SPI))
SRC += spi.c
endif

# UART
ifeq (y,$(CONFIG_USART))
SRC += usart.c
endif