Include the test modules if the overal virtual/test module is included. Also set a new global build system var along with a configuration variable.
16 lines
264 B
Makefile
16 lines
264 B
Makefile
LOCAL_DIR := $(GET_LOCAL_DIR)
|
|
|
|
MODULE := $(LOCAL_DIR)
|
|
|
|
MODULE_SRCS += $(LOCAL_DIR)/spifs.c
|
|
|
|
ifeq ($(call TOBOOL,WITH_TESTS),true)
|
|
MODULE_DEPS += $(LOCAL_DIR)/test
|
|
endif
|
|
|
|
MODULE_DEPS += lib/bio
|
|
MODULE_DEPS += lib/cksum
|
|
MODULE_DEPS += lib/fs
|
|
|
|
include make/module.mk
|