Re: [PATCH] lib: xz: add support for bcj filters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 22, 2017 at 5:29 AM, Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@xxxxxxxxxxxx> wrote:
>
>> On Feb 21, 2017, at 10:47 PM, yegorslists@xxxxxxxxxxxxxx wrote:
>>
>> From: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>
>>
>> Add missing configuration options for various bcj filters. Without
>> these options the lib/xz/xz_dec_bcj.c file will be compiled, but all
>> filters will be disabled.
>>
>> Signed-off-by: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx>
>> ---
>> lib/Kconfig | 28 ++++++++++++++++++++++++++++
>> 1 file changed, 28 insertions(+)
>>
>> diff --git a/lib/Kconfig b/lib/Kconfig
>> index f9f25bdef..83dd8e0a4 100644
>> --- a/lib/Kconfig
>> +++ b/lib/Kconfig
>> @@ -22,6 +22,34 @@ config XZ_DECOMPRESS
>>       bool "include xz uncompression support"
>>       select UNCOMPRESS
>>
>> +if XZ_DECOMPRESS
>> +
>> +config XZ_DEC_X86
>> +        bool "x86 BCJ filter decoder"
>> +        default y
> this need to be ARCH dependant

Why? In Linux kernel it is not arch dependent, because AFAIK it
describes only compression particularities. This way you can extract
sqaushfs images on your ARM machine, that were compressed on SPARK
etc.

>> +
>> +config XZ_DEC_POWERPC
>> +        bool "PowerPC BCJ filter decoder"
>> +        default y
>> +
> ditto
>> +config XZ_DEC_IA64
>> +        bool "IA-64 BCJ filter decoder"
>> +        default y
> ditto
>> +config XZ_DEC_ARM
>> +        bool "ARM BCJ filter decoder"
>> +        default y
>> +
> ditto
>> +config XZ_DEC_ARMTHUMB
>> +        bool "ARM-Thumb BCJ filter decoder"
>> +        default y
>> +
> ditto
>> +config XZ_DEC_SPARC
>> +        bool "SPARC BCJ filter decoder"
>> +        default y
>> +
>> +endif
>> +
>> config REED_SOLOMON
>>       bool
>>
>> --
>> 2.11.0
>>
>>
>> _______________________________________________
>> barebox mailing list
>> barebox@xxxxxxxxxxxxxxxxxxx
>> http://lists.infradead.org/mailman/listinfo/barebox
>

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux