summaryrefslogtreecommitdiff
path: root/os/Makefile
blob: d7d041935e04f846f551fe16868d6e6fa9f291e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
TARGET_LIB = libos.a

all: $(TARGET_LIB)

include $(ROOTDIR)/common.mk
include config.mk
include $(ROOTDIR)/FreeRTOS/config.mk
include $(ROOTDIR)/arch/config.mk

TARGET_SRCS = \
src/init.c \
\
src/filesystem.c \
src/fio.c \
src/hash-djb2.c \
src/osdebug.c \
src/romfs.c \
\
src/close.c \
src/fstat.c \
src/isatty.c \
src/lseek.c \
src/open.c \
src/read.c \
src/sbrk.c \
src/write.c \
\
src/fclose.c \
src/fflush.c \
src/fopen.c \
src/fprintf.c \
src/fread.c \
src/free.c \
src/fwrite.c \
src/malloc.c \
src/printf.c \
src/sprintf.c \

ifeq ($(CPU),arm)
TARGET_SRCS += src/semifs.c
endif

include $(ROOTDIR)/target-rules.mk

clean: clean-generic