kindle: 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 b175c972fb
commit b2a5b9815e
1 file changed
+7 -2
+7 -2
View File
@@ -12,7 +12,7 @@ define UPDATE_PATH_EXCLUDES +=
tools
endef
update: all
update-prepare: all
# ensure that the binaries were built for ARM
file --dereference $(INSTALL_DIR)/koreader/luajit | grep ARM
# Kindle launching scripts
@@ -23,6 +23,11 @@ update: all
$(SYMLINK) $(KINDLE_DIR)/libkohelper.sh $(INSTALL_DIR)/extensions/koreader/bin/
$(SYMLINK) $(COMMON_DIR)/spinning_zsync $(INSTALL_DIR)/koreader/
$(SYMLINK) $(KINDLE_DIR)/wmctrl $(INSTALL_DIR)/koreader/
# Create packages.
update-zip: update-prepare
$(strip $(call mkupdate,$(KINDLE_PACKAGE))) extensions $(KINDLE_LEGACY_LAUNCHER)
update-tgz: update-prepare
$(strip $(call mkupdate,$(KINDLE_PACKAGE_OTA))) extensions $(KINDLE_LEGACY_LAUNCHER)
update: update-zip update-tgz