blob: fc7cd164499e4ac969d89e9283832afbf2ca7431 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001LOCAL_DIR := $(GET_LOCAL_DIR)
2
3MODULE := $(LOCAL_DIR)
4
5MODULE_DEPS := \
6 lib/libc \
7 lib/debug \
8 lib/heap
9
10MODULE_SRCS := \
11 $(LOCAL_DIR)/debug.c \
12 $(LOCAL_DIR)/event.c \
13 $(LOCAL_DIR)/init.c \
14 $(LOCAL_DIR)/mutex.c \
15 $(LOCAL_DIR)/thread.c \
16 $(LOCAL_DIR)/timer.c \
17 $(LOCAL_DIR)/semaphore.c \
18 $(LOCAL_DIR)/mp.c \
19 $(LOCAL_DIR)/port.c
20
21ifeq ($(WITH_KERNEL_VM),1)
22MODULE_DEPS += kernel/vm
23else
24MODULE_DEPS += kernel/novm
25endif
26
27include make/module.mk