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.
14 lines
265 B
Makefile
14 lines
265 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
|