diff --git a/make/kobo.mk b/make/kobo.mk index 4fe40a882..d71ae880f 100644 --- a/make/kobo.mk +++ b/make/kobo.mk @@ -6,13 +6,18 @@ define UPDATE_PATH_EXCLUDES += $(filter-out tools/kobo%,$(wildcard tools/*)) endef -update: all +update-prepare: all # ensure that the binaries were built for ARM file --dereference $(INSTALL_DIR)/koreader/luajit | grep ARM # Kobo launching scripts $(SYMLINK) $(KOBO_DIR)/koreader.png $(INSTALL_DIR)/ $(SYMLINK) $(KOBO_DIR)/*.sh $(INSTALL_DIR)/koreader/ $(SYMLINK) $(COMMON_DIR)/spinning_zsync $(INSTALL_DIR)/koreader/ - # Create packages. + +update-zip: update-prepare $(strip $(call mkupdate,--manifest-transform=/^koreader\.png$$/d $(KOBO_PACKAGE))) koreader.png + +update-tgz: update-prepare $(strip $(call mkupdate,$(KOBO_PACKAGE_OTA))) + +update: update-zip update-tgz