aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Yao <ryao@cs.stonybrook.edu>2012-01-27 20:08:58 -0500
committerRobin H. Johnson <robbat2@gentoo.org>2012-01-28 20:17:00 +0000
commit73520cb6b2e2479bf230d114d0dcb90f6ccd100c (patch)
tree087679e3f36c084f78901218e5f3fd937cae2277 /arch/alpha
parentBump version to 3.4.24 (diff)
downloadgenkernel-73520cb6b2e2479bf230d114d0dcb90f6ccd100c.tar.gz
genkernel-73520cb6b2e2479bf230d114d0dcb90f6ccd100c.tar.bz2
genkernel-73520cb6b2e2479bf230d114d0dcb90f6ccd100c.zip
Implement --[no-]compress-initramfs option to complement --[no-]integrated-initramfs
When using an integrated initramfs (including in kernel during build), it's better NOT to compress the initramfs, as the kernel build process will then be re-compressing it. This can provide space savings on disk as well as potential time & memory savings (one less decompress pass is needed before the kernel can use the initramfs). This functionality was previously available in the undocumented COMPRESS_INITRD variable. Code-by: Richard Yao <ryao@cs.stonybrook.edu> Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> (commit message rewritten).
Diffstat (limited to 'arch/alpha')
-rwxr-xr-xarch/alpha/config.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/alpha/config.sh b/arch/alpha/config.sh
index 44494f1f..2692f23a 100755
--- a/arch/alpha/config.sh
+++ b/arch/alpha/config.sh
@@ -6,12 +6,12 @@ KERNEL_MAKE_DIRECTIVE="boot"
KERNEL_MAKE_DIRECTIVE_2=""
KERNEL_BINARY="arch/alpha/boot/vmlinux.gz"
-COMPRESS_INITRD=yes
-
#
# Arch-specific defaults that can be overridden in the config file or on the
# command line.
#
+DEFAULT_COMPRESS_INITRD=yes
+
DEFAULT_MAKEOPTS="-j2"
DEFAULT_KERNEL_MAKE=make