mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[build, Android] Use faster lzma2 compression (#4562)
This greatly speeds up package creation and somewhat speeds up resource bundle extraction.
This commit is contained in:
2
Makefile
2
Makefile
@@ -366,7 +366,7 @@ androidupdate: all
|
||||
tar -czah --no-recursion -f ../../koreader-android-$(MACHINE)-$(VERSION).targz \
|
||||
-T ota/package.index
|
||||
# make android update apk
|
||||
cd $(INSTALL_DIR)/koreader && 7z a -l -mx=1 \
|
||||
cd $(INSTALL_DIR)/koreader && 7z a -l -m0=lzma2 -mx=1 \
|
||||
../../$(ANDROID_LAUNCHER_DIR)/assets/module/koreader-$(VERSION).7z * \
|
||||
-x!resources/fonts -x!resources/icons/src -x!spec
|
||||
$(MAKE) -C $(ANDROID_LAUNCHER_DIR) $(if $(KODEBUG), debug, release) ANDROID_VERSION=$(ANDROID_VERSION) ANDROID_NAME=$(ANDROID_NAME)
|
||||
|
||||
Reference in New Issue
Block a user