From c9259825a726aa8ad9e519725df99ea9c655f88f Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Wed, 12 Oct 2022 13:16:48 -0700 Subject: [PATCH] fix build of no-bootloader targets --- build.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build.mk b/build.mk index 6ee06e5..04c9cd2 100644 --- a/build.mk +++ b/build.mk @@ -344,11 +344,12 @@ force: targ-%: $(MAKE) TARGET=$(subst targ-,,$@) -ifeq ($(NOBL),) $(MAKE) TARGET=$(subst targ-,,$@) BLUP=1 -endif -drop: $(addprefix targ-,$(DROP_TARGETS)) +nobl-targ-%: + $(MAKE) TARGET=$(subst nobl-targ-,,$@) + +drop: $(addprefix nobl-targ-,$(NO_DROP_TARGETS)) $(addprefix targ-,$(DROP_TARGETS)) cd built; cat $(addsuffix /app-*.uf2,$(DROP_TARGETS)) > drop.uf2 cd built; cat $(addsuffix /blup-*.uf2,$(DROP_TARGETS)) > bootloader-update.uf2 @ls -l built/drop.uf2 built/bootloader-update.uf2