From acb05b5b661f806ee2fd3a06ee8fefa8351b3ddd Mon Sep 17 00:00:00 2001 From: Allister MacLeod Date: Sun, 3 Nov 2024 00:54:16 -0400 Subject: [PATCH] Take away parallelism. Because so many of my targets are phony, it is hard to declare good dependency rules. Without good dependency rules, Make does not know when to wait for a prerequisite before proceeding, and can end up doing things like starting to build one half of a split board while `make clean` is still working, or trying to start a transfer or deploy before both halves of a split board are done. Rather than try to get the dependencies just right, I am instead simply removing the parallelism. --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index 2f54f36..5e77702 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,6 @@ .PHONY: deploy_corne deploy_ferris deploy_lily58 deploy_weejock deploy_zaphod .PHONY: transfer -MAKEFLAGS += --jobs=2 - APP_DIR := $(realpath ../zmk/app) BUILD_DIR := ${APP_DIR}/build ZMK_CONFIG_DIR := $(realpath ../zmk-config)