| # Define source file lists to SRC_LIST |
| SRC_PATH = ./service/kal/ktest |
| ifneq ($(filter __KTEST__, $(strip $(MODULE_DEFS))),) |
| ifneq ($(strip $(KTEST_ENV)), RTOS_TEST) |
| ifeq ($(strip $(KTEST_ENV)),STATIC_TEST) |
| ifeq ($(strip $(RTOS)),MERTOS) |
| SRC_LIST +=./service/kal/ktest/src/adaptation/ktest_adaptation_target_mertos.c |
| else |
| SRC_LIST +=./service/kal/ktest/src/adaptation/ktest_adaptation_target.c |
| endif |
| SRC_LIST +=./service/kal/ktest/src/common/ktest_smp.c \ |
| ./service/kal/ktest/src/common/ktest_utilities.c \ |
| ./service/kal/ktest/src/common/ktest_rtos.c \ |
| ./service/kal/ktest/src/tests/ktest_smp_mt.c \ |
| ./service/kal/ktest/src/tests/ktest_smp_mem.c \ |
| ./service/kal/ktest/src/tests/ktest_smp_misc.c \ |
| ./service/kal/ktest/src/tests/ktest_smp_ipc.c \ |
| ./service/kal/ktest/src/tests/ktest_smp_timer.c \ |
| ./service/kal/ktest/src/tests/ktest_profiler.c |
| else |
| SRC_LIST +=./service/kal/ktest/src/adaptation/ktest_adaptation_oscar.c \ |
| ./service/kal/ktest/src/adaptation/ktest_adaptation_target.c \ |
| ./service/kal/ktest/src/common/kal_autotest.c \ |
| ./service/kal/ktest/src/common/ktest_interface.c \ |
| ./service/kal/ktest/src/common/ktest_utilities.c \ |
| ./service/kal/ktest/src/tests/ktest_tc_timer.c \ |
| ./service/kal/ktest/src/tests/ktest_tc_nu_timer.c \ |
| ./service/kal/ktest/src/tests/ktest_lib_timer.c \ |
| ./service/kal/ktest/src/tests/ktest_tc_ipc.c \ |
| ./service/kal/ktest/src/tests/ktest_tc_mm_adm.c \ |
| ./service/kal/ktest/src/tests/ktest_tc_mm_afm.c \ |
| ./service/kal/ktest/src/tests/ktest_tc_mm_ctrlbuf.c \ |
| ./service/kal/ktest/src/tests/ktest_tc_task.c \ |
| ./service/kal/ktest/src/tests/ktest_tc_utl.c \ |
| ./service/kal/ktest/src/tests/ktest_tc_sandbox.c \ |
| ./service/kal/ktest/src/tests/ktest_tc_mlib.c \ |
| ./service/kal/ktest/src/tests/ktest_tc_slmm.c \ |
| ./service/kal/ktest/src/tests/ktest_tc_vm.c |
| endif |
| else |
| ifeq ($(strip $(RTOS)),MERTOS) |
| SRC_LIST +=./service/kal/ktest/src/common/ktest_rtos.c \ |
| ./service/kal/ktest/src/common/ktest_utilities.c \ |
| ./service/kal/ktest/src/adaptation/ktest_adaptation_target_mertos.c \ |
| ./service/kal/ktest/src/tests/ktest_rtos_enh_mutex.c \ |
| ./service/kal/ktest/src/tests/ktest_rtos_dpc.c \ |
| ./service/kal/ktest/src/tests/ktest_rtos_isr.c \ |
| ./service/kal/ktest/src/tests/ktest_rtos_mq.c \ |
| ./service/kal/ktest/src/tests/ktest_rtos_timer.c \ |
| ./service/kal/ktest/src/tests/ktest_rtos_misc.c \ |
| ./service/kal/ktest/src/tests/ktest_rtos_kal_itc.c \ |
| ./service/kal/ktest/src/tests/ktest_rtos_kal_buff_mgr.c \ |
| ./service/kal/ktest/src/tests/ktest_profiler.c |
| else |
| SRC_LIST +=./service/kal/ktest/src/common/ktest_rtos.c \ |
| ./service/kal/ktest/src/common/ktest_utilities.c \ |
| ./service/kal/ktest/src/adaptation/ktest_adaptation_target.c \ |
| ./service/kal/ktest/src/tests/ktest_rtos_misc.c \ |
| ./service/kal/ktest/src/tests/ktest_profiler.c |
| endif |
| endif |
| endif |
| # Define include path lists to INC_DIR |
| INC_DIR = ./interface/service/config \ |
| ./interface/service/kal \ |
| interface/driver/peripheral \ |
| interface/driver/hwdrv \ |
| ./service/kal/ktest/inc \ |
| ./service/kal/adaptation/include \ |
| ./service/kal/common/include \ |
| ./service/kal/mlib/include \ |
| ./interface/sap/svc \ |
| driver/sys_drv/cache/inc/ \ |
| driver/sys_drv/init/inc/ \ |
| ./service/sst/include \ |
| ./service/sst/include \ |
| protocol/interface/ims \ |
| driver/devdrv/cirq/$(MD_VER_FOLDER)/inc |
| |
| ifeq ($(strip $(RTOS)),MERTOS) |
| INC_DIR += ./service/mertos/include |
| endif |
| |
| # Define the specified compile options to COMP_DEFS |
| COMP_DEFS = |
| |
| |