fix build of no-bootloader targets
This commit is contained in:
Родитель
f49c13fcad
Коммит
c9259825a7
7
build.mk
7
build.mk
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче