kobo: split update rule

This commit is contained in:
Benoit Pierre authored and Frans de Jonge committed 2026-03-15 23:00:26 +01:00
1 parent b2a5b9815e
commit 723ec600b0
1 file changed
+7 -2
+7 -2
View File
@@ -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