xz: Enable BCJ filters on SPARC and 32-bit x86
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 18 Apr 2012 16:55:44 +0000 (19:55 +0300)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 25 Apr 2012 06:15:52 +0000 (11:15 +0530)
commit4412322e3f25939737e2c23b28b08d965b1c1156
tree129cd55e77ff9bce9d189955bdb3f3fe497fbfb2
parent3846e15300bb9cd54d6e1fd21a716fdea2ecd331
xz: Enable BCJ filters on SPARC and 32-bit x86

The BCJ filters were meant to be enabled already on these
archs, but the xz_wrap.sh script was buggy. Enabling the
filters should give smaller kernel images.

xz_wrap.sh will now use $SRCARCH instead of $ARCH to detect
the architecture. That way it doesn't need to care about the
subarchs (like i386 vs. x86_64) since the BCJ filters don't
care either.

Signed-off-by: Lasse Collin <lasse.collin@tukaani.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/xz_wrap.sh