[FL-2477] Updater support for resource bundles (#1131)
* Resource unpacking core * Added more fields to manifest; updated dist scripts * Python linter fixes * Parsing manifest before unpacking * Updated pipelines for separate resource build * Removed raw path formatting * Visual progress for resource extraction * Renamed update status enum Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
12
Makefile
12
Makefile
@@ -92,9 +92,19 @@ updater_clean:
|
||||
updater_debug:
|
||||
@$(MAKE) -C $(PROJECT_ROOT)/firmware -j$(NPROCS) RAM_EXEC=1 debug
|
||||
|
||||
.PHONY: updater_package_bin
|
||||
updater_package_bin: firmware_all updater
|
||||
@$(PROJECT_ROOT)/scripts/dist.py copy -t $(TARGET) -p firmware updater -s $(DIST_SUFFIX) --bundlever "$(VERSION_STRING)"
|
||||
|
||||
.PHONY: updater_package
|
||||
updater_package: firmware_all updater
|
||||
@$(PROJECT_ROOT)/scripts/dist.py copy -t $(TARGET) -p firmware updater -s $(DIST_SUFFIX) --bundlever "$(VERSION_STRING)"
|
||||
@$(PROJECT_ROOT)/scripts/dist.py copy -t $(TARGET) -p firmware updater -s $(DIST_SUFFIX) -a assets/resources --bundlever "$(VERSION_STRING)"
|
||||
|
||||
.PHONY: assets_manifest
|
||||
assets_manifest:
|
||||
@$(MAKE) -C $(PROJECT_ROOT)/assets clean
|
||||
@$(MAKE) -C $(PROJECT_ROOT)/assets
|
||||
@$(PROJECT_ROOT)/scripts/assets.py manifest assets/resources
|
||||
|
||||
.PHONY: flash_radio
|
||||
flash_radio:
|
||||
|
Reference in New Issue
Block a user