From c874a6d8c60c2461d7a15f6ab3dafc0395a6f65d Mon Sep 17 00:00:00 2001 From: rusefillc Date: Tue, 23 May 2023 17:58:47 -0400 Subject: [PATCH] PROJECT_CPU did not work maybe because command line argument value could not be changed? --- firmware/rusefi.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/rusefi.mk b/firmware/rusefi.mk index 5bd2ead2f8..a885a2c704 100644 --- a/firmware/rusefi.mk +++ b/firmware/rusefi.mk @@ -28,8 +28,9 @@ ifeq ($(BOARD_DIR),) endif ifeq ($(PROJECT_CPU),) - # while building PROJECT_CPU is provided as male command line argument value and we do not seem to be able to change that value - PROJECT_CPU = technical_debt_only_for_clean + # while building PROJECT_CPU is provided as 'make' command line argument value and we do not seem to be able to change that value + # looks like 'make clean' is the only consumer of this value?! + PROJECT_CPU = ARCH_STM32F4 endif -include $(BOARD_DIR)/config.mk @@ -66,7 +67,6 @@ $(info Using custom CPU_STARTUP_DIR $(CPU_STARTUP_DIR)) $(info Using custom CPU_PLATFORM $(CPU_PLATFORM)) $(info Using custom CPU_HWLAYER $(CPU_HWLAYER)) else ifeq ($(PROJECT_CPU),simulator) -else ifeq ($(PROJECT_CPU),technical_debt_only_for_clean) else $(error Unexpected PROJECT_CPU [$(PROJECT_CPU)]) endif