diff options
author | Ken Sumrall <ksumrall@android.com> | 2010-08-16 19:17:38 -0700 |
---|---|---|
committer | Ken Sumrall <ksumrall@android.com> | 2010-08-17 15:20:11 -0700 |
commit | 5a6181798de5c2d882c79b27406c330a6fa7da3e (patch) | |
tree | 575f0d0c16d784c064b84fe8d33694841feec3c0 /ext4_utils/Android.mk | |
parent | 75249edab0b22ea9aae9c7278b9f2c196c7d25d4 (diff) | |
download | extras-5a6181798de5c2d882c79b27406c330a6fa7da3e.tar.gz |
Add support for IEEE 802.c stylc CRC32 computation to the sparse image tools
Add support for computing the CRC32 of the data when we make a sparse image,
and storing that CRC in the header. Also update the simg2img tool that reads
sparse images to compute the CRC32 as it writes the image, and check to make
sure it matches what's in the header.
Change-Id: Iadea3a760f91fa9b1efd22a3580dd1943b1ff52e
Diffstat (limited to 'ext4_utils/Android.mk')
-rw-r--r-- | ext4_utils/Android.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext4_utils/Android.mk b/ext4_utils/Android.mk index 14702540..c7934a3d 100644 --- a/ext4_utils/Android.mk +++ b/ext4_utils/Android.mk @@ -14,6 +14,7 @@ libext4_utils_src_files := \ indirect.c \ uuid.c \ sha1.c \ + sparse_crc32.c LOCAL_SRC_FILES := $(libext4_utils_src_files) LOCAL_MODULE := libext4_utils @@ -63,7 +64,8 @@ include $(BUILD_HOST_EXECUTABLE) include $(CLEAR_VARS) -LOCAL_SRC_FILES := simg2img.c +LOCAL_SRC_FILES := simg2img.c \ + sparse_crc32.c LOCAL_MODULE := simg2img include $(BUILD_HOST_EXECUTABLE) |