summaryrefslogtreecommitdiff
path: root/os/Makefile
blob: 763f9074800b68db93cd05eb36176e56d15e3293 (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
TARGET_LIB = libos.a

all: $(TARGET_LIB)

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

TARGET_SRCS = \
src/init.c \
src/hooks.c \
\
src/filesystem.c \
src/fio.c \
src/hash-djb2.c \
src/osdebug.c \
src/romfs.c \
\
src/sbrk.c \

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

include $(ROOTDIR)/target-rules.mk

clean: clean-generic