Forgot to expand the variable in the call to the TOBOOL function which would cause the result to always be true. In this case always resulted in the test code for these three modules to be included.
16 lines
267 B
Makefile
16 lines
267 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
|