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/sparc64/config.sh
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/sparc64/config.sh')
-rwxr-xr-xarch/sparc64/config.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc64/config.sh b/arch/sparc64/config.sh
index d1e37d5..563ebd9 100755
--- a/arch/sparc64/config.sh
+++ b/arch/sparc64/config.sh
@@ -6,13 +6,14 @@ KERNEL_MAKE_DIRECTIVE="vmlinux"
KERNEL_MAKE_DIRECTIVE_2="image"
KERNEL_BINARY="arch/sparc64/boot/image arch/sparc/boot/image"
-COMPRESS_INITRD=yes
USECOLOR="no"
#
# 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