kobo: split update rule
This commit is contained in:
1 parent
b2a5b9815e
commit
723ec600b0
1 file changed
+7
-2
+7
-2
@@ -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
|
||||
Reference in new issue
Block a user