Bug 3733 - dropbear: make zlib optional
Summary: dropbear: make zlib optional
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 enhancement
Target Milestone: ---
Assignee: unassigned
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2011-05-16 19:37 UTC by Alexander Clouter
Modified: 2011-05-16 20:43 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
drop zlib dependency (1.41 KB, patch)
2011-05-16 19:39 UTC, Alexander Clouter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Clouter 2011-05-16 19:37:39 UTC
I noticed for my buildroot environment the only componment that was pulling in zlib was dropbear.  The patch included drops the zlib dependency when compiling with DROPBEAR_SMALL, pruning ~70kB for a LZO compressed root which is handy for me with my 4MB NAND.

No idea if the patch is 'correct' by your standards but it gets my usual stamps, 'seal of approval' and 'works for me'...

Cheers
Comment 1 Alexander Clouter 2011-05-16 19:39:12 UTC
Created attachment 3301 [details]
drop zlib dependency
Comment 2 Peter Korsgaard 2011-05-16 20:43:01 UTC
Committed with small tweaks, thanks