summaryrefslogtreecommitdiffstats
path: root/fastboot/Android.mk
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2012-05-24 17:18:41 -0700
committerColin Cross <ccross@android.com>2012-07-09 22:17:58 -0700
commitf838788e6a4d57634a53eb597ee76a597feffcb5 (patch)
tree2d17a6166f40a08e76847a0b8993a5f8c143b101 /fastboot/Android.mk
parent80f2d036a9dff894df27961c4aed300f1a5ebbc4 (diff)
downloadsystem_core-f838788e6a4d57634a53eb597ee76a597feffcb5.zip
system_core-f838788e6a4d57634a53eb597ee76a597feffcb5.tar.gz
system_core-f838788e6a4d57634a53eb597ee76a597feffcb5.tar.bz2
fastboot: add support for auto-resparsing large files
Add support to fastboot for automatically using libsparse to break large files, whether they are in sparse or normal format, into multiple sparse files that can each fit into the target's memory. Allows flashing images that are larger than the size of the available memory on the target. By default, any file over 512MB will be sparsed into 512MB chunks. The limit can be modified with the -m argument, or sparsing can be forced with -S or avoided with -N. If -m is not specified, the target can override the default by implementing getvar:max-download-size Change-Id: I6c59381c3d24475c4f2587ea877200b96971cbd7
Diffstat (limited to 'fastboot/Android.mk')
-rw-r--r--fastboot/Android.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/Android.mk b/fastboot/Android.mk
index 089b9bb..e3261a7 100644
--- a/fastboot/Android.mk
+++ b/fastboot/Android.mk
@@ -48,7 +48,7 @@ ifeq ($(HOST_OS),windows)
LOCAL_C_INCLUDES += development/host/windows/usb/api
endif
-LOCAL_STATIC_LIBRARIES := $(EXTRA_STATIC_LIBS) libzipfile libunz libext4_utils libz
+LOCAL_STATIC_LIBRARIES := $(EXTRA_STATIC_LIBS) libzipfile libunz libext4_utils libsparse libz
ifneq ($(HOST_OS),windows)
ifeq ($(HAVE_SELINUX), true)