lkml.org 
[lkml]   [2012]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] xz: make use of BCJ filter also for 32-bit x86 kernel
The ARCH value for 32-bit x86 is not x86, but i?86.

This reduces the image sizes of the kernels I routinely build by almost
100k (surprisingly much, to me at least).

Signed-off-by: Jan Beulich <jbeulich@suse.com>

---
scripts/xz_wrap.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- 3.3-rc7/scripts/xz_wrap.sh
+++ 3.3-rc7-xz-bcj-ix86/scripts/xz_wrap.sh
@@ -13,7 +13,7 @@ BCJ=
LZMA2OPTS=

case $ARCH in
- x86|x86_64) BCJ=--x86 ;;
+ i?86|x86_64) BCJ=--x86 ;;
powerpc) BCJ=--powerpc ;;
ia64) BCJ=--ia64; LZMA2OPTS=pb=4 ;;
arm) BCJ=--arm ;;




\
 
 \ /
  Last update: 2012-03-15 16:47    [W:0.056 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site