1LOCAL_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 28