[oe] [PATCH 2/6] conf/bitbake: improve compression image handling

Tom Rini tom_rini at mentor.com
Thu Apr 7 23:48:54 UTC 2011


On 04/07/2011 10:29 AM, Otavio Salvador wrote:
> On Thu, Apr 7, 2011 at 14:23, Phil Blundell <philb at gnu.org> wrote:
>> On Thu, 2011-04-07 at 13:19 +0000, Otavio Salvador wrote:
>>>  XZ_COMPRESSION_LEVEL ?= "-e -9"
>>>  LZMA_COMPRESSION_LEVEL ?= "-e -9"
>>> +GZIP_COMPRESSION_LEVEL ?= "-9"
>>> +BZIP2_COMPRESSION_LEVEL ?= "-9"
>>
>> It seems a bit sad to have to keep adding new vars to the global
>> configuration set (and hence parse them for every single recipe) every
>> time someone wants to tweak a new compression format.  Can we not just
>> have a single IMAGE_COMPRESSION_LEVEL that does for everything?
> 
> For me it doesn't matter; I can add it if preferred.

Why are we even tweaking gzip/bzip2?  XZ/LZMA can have serious tradeoffs
at higher levels but I thought for bzip2/gzip it was either do it or no
compression, not "turn it down a little bit".

-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-devel mailing list