Workaround for race condition issue

This commit is contained in:
silabs-ChatNguyen 2023-11-15 21:54:11 +07:00
parent 58b111d428
commit 0a6e92d001
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ $(OUTPUT_DIR)/firmware.bin: $(SILABS_BUILD)/$(PROJECTNAME).Makefile $(OUTPUT_DIR
endif
$(SILABS_BUILD)/$(PROJECTNAME).Makefile: | $(HEADER_BUILD)/mpversion.h
+@$(MAKE) --no-print-directory slc-generate
+@$(MAKE) -j1 --no-print-directory slc-generate
$(OUTPUT_DIR)/firmware.out: $(SILABS_BUILD)/pin_functions.h $(SILABS_BUILD)/pins.c $(OBJ) $(OBJS) $(LIB_FILES)
$(STEPECHO) 'Linking $(OUTPUT_DIR)/firmware.out'