MK clean-up

This commit is contained in:
rusefi 2019-06-15 16:43:30 -04:00
parent 8fe9f1dcfe
commit 9a33c3488a
3 changed files with 30 additions and 27 deletions

View File

@ -90,6 +90,7 @@ include $(PROJECT_DIR)/hw_layer/hw_layer.mk
include $(PROJECT_DIR)/hw_layer/drivers/drivers.mk
include $(PROJECT_DIR)/hw_layer/sensors/sensors.mk
include test.mk
include tests/tests.mk
# Define linker script file here
#LDSCRIPT= config/system/STM32F407xG.ld
@ -118,7 +119,8 @@ CPPSRC = $(UTILSRC_CPP) \
$(CONTROLLERS_CORE_SRC_CPP) \
$(CONTROLLERS_MATH_SRC_CPP) \
$(CONTROLLERS_SENSORS_SRC_CPP) \
$(TEST_SRC_CPP) \
$(FRAMEWORK_SRC_CPP) \
$(TESTS_SRC_CPP) \
$(SYSTEMSRC_CPP) \
$(HW_LAYER_EMS_CPP) \
$(HW_SENSORS_SRC) \

View File

@ -1,34 +1,9 @@
TEST_SRC_CPP = unit_test_framework.cpp \
FRAMEWORK_SRC_CPP = unit_test_framework.cpp \
engine_test_helper.cpp \
boards.cpp \
global_execution_queue.cpp \
test_basic_math/test_find_index.cpp \
test_basic_math/test_interpolation_3d.cpp \
test_basic_math/test_efilib.cpp \
tests/test_util.cpp \
tests/test_ion.cpp \
tests/test_on_demand_parameters.cpp \
tests/test_hip9011.cpp \
tests/test_cj125.cpp \
tests/test_cam_vtt_input.cpp \
tests/test_engine_math.cpp \
tests/test_startOfCrankingPrimingPulse.cpp \
tests/test_miata_na6_real_cranking.cpp \
tests/test_fasterEngineSpinningUp.cpp \
tests/test_idle_controller.cpp \
tests/test_trigger_decoder.cpp \
tests/test_trigger_noiseless.cpp \
tests/test_fuel_map.cpp \
tests/test_maf2map.cpp \
tests/test_fuelCut.cpp \
tests/test_trigger_multi_sync.cpp \
tests/test_pwm_generator.cpp \
tests/test_logic_expression.cpp \
tests/test_speed_density.cpp \
tests/test_signal_executor.cpp \
tests/test_sensors.cpp \
tests/test_pid_auto.cpp \
tests/test_accel_enrichment.cpp \
tests/test_gpiochip.cpp \
afm2mapConverter.cpp

26
unit_tests/tests/tests.mk Normal file
View File

@ -0,0 +1,26 @@
TESTS_SRC_CPP = \
tests/test_util.cpp \
tests/test_ion.cpp \
tests/test_on_demand_parameters.cpp \
tests/test_hip9011.cpp \
tests/test_cj125.cpp \
tests/test_cam_vtt_input.cpp \
tests/test_engine_math.cpp \
tests/test_startOfCrankingPrimingPulse.cpp \
tests/test_miata_na6_real_cranking.cpp \
tests/test_fasterEngineSpinningUp.cpp \
tests/test_idle_controller.cpp \
tests/test_trigger_decoder.cpp \
tests/test_trigger_noiseless.cpp \
tests/test_fuel_map.cpp \
tests/test_maf2map.cpp \
tests/test_fuelCut.cpp \
tests/test_trigger_multi_sync.cpp \
tests/test_pwm_generator.cpp \
tests/test_logic_expression.cpp \
tests/test_speed_density.cpp \
tests/test_signal_executor.cpp \
tests/test_sensors.cpp \
tests/test_pid_auto.cpp \
tests/test_accel_enrichment.cpp \
tests/test_gpiochip.cpp