diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2017-11-13 23:07:46 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2017-11-14 22:33:19 +0100 |
commit | 6d283b8029c87590bd056617340dbdb110239415 (patch) | |
tree | 7856a184eb4578fc5697ce4d2a8f0b5e94b8729e /include/package-ipkg.mk | |
parent | c6761e7c8e5d0d33e2f266c297b403f337f93c6b (diff) | |
download | upstream-6d283b8029c87590bd056617340dbdb110239415.tar.gz upstream-6d283b8029c87590bd056617340dbdb110239415.tar.bz2 upstream-6d283b8029c87590bd056617340dbdb110239415.zip |
otrx: optimize memory usage when creating TRX image
There is no need to allocate buffer as big as the whole image in order
to calculate CRC32. It's enough to use small buffer and just read file
content block by block.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'include/package-ipkg.mk')
0 files changed, 0 insertions, 0 deletions