提交 0db7bd8c 编写于 作者: L Lasse Collin 提交者: Linus Torvalds

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: NLasse Collin <lasse.collin@tukaani.org>
Acked-by: NJan Beulich <jbeulich@suse.com>
Acked-by: NH. Peter Anvin <hpa@zytor.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 40df43a1
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
BCJ= BCJ=
LZMA2OPTS= LZMA2OPTS=
case $ARCH in case $SRCARCH in
x86|x86_64) BCJ=--x86 ;; x86) BCJ=--x86 ;;
powerpc) BCJ=--powerpc ;; powerpc) BCJ=--powerpc ;;
ia64) BCJ=--ia64; LZMA2OPTS=pb=4 ;; ia64) BCJ=--ia64; LZMA2OPTS=pb=4 ;;
arm) BCJ=--arm ;; arm) BCJ=--arm ;;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册