Skip to content

Commit

Permalink
Take away parallelism.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
amacleod committed Nov 3, 2024
1 parent ae15021 commit acb05b5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit acb05b5

Please sign in to comment.