fix build of no-bootloader targets

This commit is contained in:
Michal Moskal 2022-10-12 13:16:48 -07:00
Родитель f49c13fcad
Коммит c9259825a7
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -344,11 +344,12 @@ force:
targ-%: targ-%:
$(MAKE) TARGET=$(subst targ-,,$@) $(MAKE) TARGET=$(subst targ-,,$@)
ifeq ($(NOBL),)
$(MAKE) TARGET=$(subst targ-,,$@) BLUP=1 $(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 /app-*.uf2,$(DROP_TARGETS)) > drop.uf2
cd built; cat $(addsuffix /blup-*.uf2,$(DROP_TARGETS)) > bootloader-update.uf2 cd built; cat $(addsuffix /blup-*.uf2,$(DROP_TARGETS)) > bootloader-update.uf2
@ls -l built/drop.uf2 built/bootloader-update.uf2 @ls -l built/drop.uf2 built/bootloader-update.uf2