make linux sim depend on windows sim if it's required

This commit is contained in:
David Holdeman 2024-03-23 20:25:28 -05:00 committed by rusefillc
parent f0a74b727f
commit 0b5dde0dd8
1 changed files with 2 additions and 1 deletions

View File

@ -119,7 +119,8 @@ BUNDLE_FILES = \
$(SIMULATOR_OUT): $(CONFIG_FILES)
$(MAKE) -C ../simulator -r OS="Windows_NT" SUBMAKE=yes
../simulator/build/rusefi_simulator: $(CONFIG_FILES)
# make Windows simulator a prerequisite so that we don't try compiling them concurrently
../simulator/build/rusefi_simulator: $(CONFIG_FILES) | $(SIMULATOR_OUT)
$(MAKE) -C ../simulator -r OS="Linux" SUBMAKE=yes
$(BOOTLOADER_HEX) $(BOOTLOADER_BIN): .bootloader-sentinel ;