Skip to content

Commit 566f368

Browse files
committed
ubifs: use zlib
For the price of 1 second in the loader stage we get 1 MiB of flash space. 13.35 MiB -> 12.29 MiB, 6.5 sec - > 7.6 sec. Signed-off-by: Christian Svensson <bluecmd@google.com>
1 parent 3811694 commit 566f368

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ root.ubifs.img: initramfs.cpio $(ROOT_DIR)boot/zImage.full $(ROOT_DIR)boot/signe
225225
fakeroot sh -c "(cd root/; cpio -idv < ../$(<)) && \
226226
cat root/bbin/bb $(TEST_EXTRA_SIGN) | \
227227
$(ROOT_DIR)boot/signer/signer > root/bbin/bb.gpg && \
228-
mkfs.ubifs -r root -R0 -m 1 -e ${LEB} -c 2047 -o $(@)"
228+
mkfs.ubifs -x zlib -r root -R0 -m 1 -e ${LEB} -c 2047 -o $(@)"
229229

230230
ubi.img: root.ubifs.img $(ROOT_DIR)ubi.cfg
231231
ubinize -vv -o ubi.img -m 1 -p64KiB $(ROOT_DIR)ubi.cfg

0 commit comments

Comments
 (0)