No real functional change, just following the pattern of moving unittest code into a sub module that is picked up by the build system when WITH_TESTS is set.
14 lines
262 B
Makefile
14 lines
262 B
Makefile
LOCAL_DIR := $(GET_LOCAL_DIR)
|
|
|
|
MODULE := $(LOCAL_DIR)
|
|
|
|
MODULE_SRCS += $(LOCAL_DIR)/debug.c
|
|
MODULE_SRCS += $(LOCAL_DIR)/fs.c
|
|
MODULE_SRCS += $(LOCAL_DIR)/shell.c
|
|
|
|
ifeq ($(call TOBOOL,WITH_TESTS),true)
|
|
MODULE_DEPS += $(LOCAL_DIR)/test
|
|
endif
|
|
|
|
include make/module.mk
|