diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2016-02-29 13:47:36 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2016-02-29 13:47:36 -0800 |
commit | 41a7b4515071ef386f919215fa02a90beb426500 (patch) | |
tree | f1aefe1992339598fb0f65932b5e2868e05360ef /defaults/config.sh | |
parent | fix rootfs detection per bug #552052 (diff) | |
download | genkernel-41a7b4515071ef386f919215fa02a90beb426500.tar.gz genkernel-41a7b4515071ef386f919215fa02a90beb426500.tar.bz2 genkernel-41a7b4515071ef386f919215fa02a90beb426500.zip |
config.sh: ensure generic config.sh is used again; and refactor duplicate settings.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'defaults/config.sh')
-rwxr-xr-x | defaults/config.sh | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/defaults/config.sh b/defaults/config.sh index 6acf3bb..b961f68 100755 --- a/defaults/config.sh +++ b/defaults/config.sh @@ -1,25 +1,29 @@ -#This file does not actually appear to be run at all anymore, and is kept as an example for new arches. +# This file is sourced before the arch-specific configs. # $Id$ # -# Arch-specific options that normally shouldn't be changed. +# Arch-specific options that normally shouldn't be changed (and should be set in the arch-specific configs) # -KERNEL_MAKE_DIRECTIVE="bzImage" +KERNEL_MAKE_DIRECTIVE="--INVALID--" # since "" is allowed (this will translate in `make `, which is nice # for xen-based kernels, the default value of # KERNEL_MAKE_DIRECTIVE_OVERRIDE cannot be "" DEFAULT_KERNEL_MAKE_DIRECTIVE_OVERRIDE="--INVALID--" KERNEL_MAKE_DIRECTIVE_OVERRIDE="${DEFAULT_KERNEL_MAKE_DIRECTIVE_OVERRIDE}" KERNEL_MAKE_DIRECTIVE_2="" -KERNEL_BINARY="arch/i386/boot/bzImage" +KERNEL_BINARY="--INVALID--" KERNEL_BINARY_OVERRIDE="" -DEFAULT_COMPRESS_INITRD=yes -DEFAULT_COMPRESS_INITRD_TYPE=best +# At a bare minimum, every arch MUST override these two options: +# KERNEL_MAKE_DIRECTIVE +# KERNEL_BINARY # # Arch-specific defaults that can be overridden in the config file or on the # command line. # +DEFAULT_COMPRESS_INITRD=yes +DEFAULT_COMPRESS_INITRD_TYPE=best + PORTAGE_MAKEOPTS="$(portageq envvar MAKEOPTS)" DEFAULT_MAKEOPTS="${PORTAGE_MAKEOPTS:- -j2}" |