1 # Configuration file for genkernel
4 # This file is sourced by genkernel at startup and determines which options
5 # we will be using to compile our kernel. The order of precidence is simple,
6 # with the internal settings being least important, configuration file
7 # settings next, and command line options being most important.
9 # =========Common Command Line Option Defaults=========
11 # Run 'make oldconfig' before compiling this kernel?
14 # Run 'make menuconfig' before compiling this kernel?
17 # Run 'make clean' before compilation?
18 # If set to NO, implies MRPROPER WILL NOT be run
19 # Also, if clean is NO, it won't copy over any configuration
20 # file, it will use what's there.
23 # Run 'make mrproper' before configuration/compilation?
26 # Override the arch detection?
29 # Mount BOOTDIR automatically if it isn't mounted?
32 # Make symlinks in BOOTDIR automatically?
35 # Save the new configuration in /etc/kernels upon
36 # successfull compilation
39 # Use Color output in Genkernel?
42 # Clear build cache dir
43 # CLEAR_CACHE_DIR="yes"
45 # Genkernel uses an independent configuration for MAKEOPTS, and does not source
46 # /etc/make.conf . You can override the default setting by uncommenting and
47 # tweaking the following line. Default setting is set up by
48 # ${GK_SHARE}/${ARCH_OVERRIDE}/config.sh . The recommended value for -j
49 # argument is: <number of processors>*<number of cores per processor>+1
52 # Add in LVM support from static binaries if they exist on the system, or
53 # compile static LVM binaries if static ones do not exist.
56 # Add in Luks support. Needs sys-fs/cryptsetup with -dynamic installed.
59 # Add in GnuPG support
62 # Add in EVMS support from static binaries if they exist on the system: you
63 # should run "emerge evms" first.
69 # Include (or suppresses the inclusion of) busybox in the initrd or initramfs.
70 # If included, busybox is rebuilt if the cached copy is out of date.
73 # Includes mdadm/mdmon binaries in initramfs.
74 # Without sys-fs/mdadm[static] installed, this will build a static mdadm.
77 # Specify a custom mdadm.conf.
78 # By default the ramdisk will be built *without* an mdadm.conf and will auto-detect
79 # arrays during bootup. Usually, this should not be needed.
80 # MDADM_CONFIG="/etc/mdadm.conf"
82 # Add Multipath support.
88 # Enable copying of firmware into initramfs
90 # Specify directory to pull from
91 # FIRMWARE_DIR="/lib/firmware"
92 # Specify specific firmware files to include. This overrides FIRMWARE_DIR
95 # Enable disklabel support (copies blkid to initrd)
98 # Add new kernel to grub?
101 # Enable splashutils in early space (initrd). Default is "no".
104 # Use this splash theme. If commented out - the "default" name theme is used.
105 # Also, SPLASH="yes" needs to be enabled for this one to one work.
106 # This supersedes the "SPLASH_THEME" option of /etc/conf.d/splash (in early space).
107 # SPLASH_THEME="gentoo"
109 # =========Low Level Compile Settings=========
111 # GNU Make to use for kernel. See also the --kernel-make command line option.
114 # Compiler to use for the kernel (e.g. distcc). See also the --kernel-cc
115 # command line option.
118 # Assembler to use for the kernel. See also the --kernel-as command line
122 # Linker to use for the kernel. See also the --kernel-ld command line option.
125 # GNU Make to use for the utilities. See also the --utils-make command line
129 # Compiler to use for the utilities (e.g. distcc). See also the --utils-cc
130 # command line option.
133 # Assembler to use for the utilities. See also the --utils-as command line
137 # Linker to use for the utilities. See also the --utils-ld command line
141 # =========GENKERNEL LOCATION CONFIGURATION============
143 # %%ARCH%% - Final determined architecture
144 # %%CACHE%% - Final determined cache location
146 # Set genkernel's temporary work directory. Default is /var/tmp/genkernel
147 # TMPDIR="/var/tmp/genkernel"
149 # Set the boot directory, default is /boot
152 # Default share directory location
153 GK_SHARE="${GK_SHARE:-/usr/share/genkernel}"
155 # Location of the default cache
156 CACHE_DIR="/var/cache/genkernel"
157 # Location of DISTDIR, where our source tarballs are stored
158 DISTDIR="${CACHE_DIR}/src"
160 LOGFILE="/var/log/genkernel.log"
164 # Default location of kernel source
165 DEFAULT_KERNEL_SOURCE="/usr/src/linux"
166 # Default kernel config (only use to override using
167 # arch/%%ARCH%%/kernel-config-${VER}.${PAT} !)
168 # DEFAULT_KERNEL_CONFIG="${GK_SHARE}/arch/%%ARCH%%/kernel-config"
170 BUSYBOX_VER="VERSION_BUSYBOX"
171 BUSYBOX_SRCTAR="${DISTDIR}/busybox-${BUSYBOX_VER}.tar.bz2"
172 BUSYBOX_DIR="busybox-${BUSYBOX_VER}"
173 BUSYBOX_BINCACHE="%%CACHE%%/busybox-${BUSYBOX_VER}-%%ARCH%%.tar.bz2"
174 # BUSYBOX_APPLETS="[ ash sh mount uname echo cut cat"
176 DEVICE_MAPPER_VER="VERSION_DMAP"
177 DEVICE_MAPPER_DIR="device-mapper.${DEVICE_MAPPER_VER}"
178 DEVICE_MAPPER_SRCTAR="${DISTDIR}/device-mapper.${DEVICE_MAPPER_VER}.tgz"
179 DEVICE_MAPPER_BINCACHE="%%CACHE%%/device-mapper-${DEVICE_MAPPER_VER}-%%ARCH%%.tar.bz2"
181 LVM_VER="VERSION_LVM"
182 LVM_DIR="LVM2.${LVM_VER}"
183 LVM_SRCTAR="${DISTDIR}/LVM2.${LVM_VER}.tgz"
184 LVM_BINCACHE="%%CACHE%%/LVM2.${LVM_VER}-%%ARCH%%.tar.bz2"
186 MDADM_VER="VERSION_MDADM"
187 MDADM_DIR="mdadm-${MDADM_VER}"
188 MDADM_SRCTAR="${DISTDIR}/mdadm-${MDADM_VER}.tar.bz2"
189 MDADM_BINCACHE="%%CACHE%%/mdadm-${MDADM_VER}-%%ARCH%%.tar.bz2"
191 DMRAID_VER="VERSION_DMRAID"
192 DMRAID_DIR="dmraid/${DMRAID_VER}"
193 DMRAID_SRCTAR="${DISTDIR}/dmraid-${DMRAID_VER}.tar.bz2"
194 DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2"
196 ISCSI_VER="VERSION_ISCSI"
197 ISCSI_DIR="open-iscsi-${ISCSI_VER}"
198 ISCSI_SRCTAR="${DISTDIR}/open-iscsi-${ISCSI_VER}.tar.gz"
199 ISCSI_BINCACHE="%%CACHE%%/iscsi-${ISCSI_VER}-%%ARCH%%.bz2"
201 E2FSPROGS_VER="VERSION_E2FSPROGS"
202 E2FSPROGS_DIR="e2fsprogs-${E2FSPROGS_VER}"
203 E2FSPROGS_SRCTAR="${DISTDIR}/e2fsprogs-${E2FSPROGS_VER}.tar.gz"
204 BLKID_BINCACHE="%%CACHE%%/blkid-${E2FSPROGS_VER}-%%ARCH%%.bz2"
206 FUSE_VER="VERSION_FUSE"
207 FUSE_DIR="fuse-${FUSE_VER}"
208 FUSE_SRCTAR="${DISTDIR}/fuse-${FUSE_VER}.tar.gz"
209 FUSE_BINCACHE="%%CACHE%%/fuse-${FUSE_VER}-%%ARCH%%.tar.bz2"
211 UNIONFS_FUSE_VER="VERSION_UNIONFS_FUSE"
212 UNIONFS_FUSE_DIR="unionfs-fuse-${UNIONFS_FUSE_VER}"
213 UNIONFS_FUSE_SRCTAR="${DISTDIR}/unionfs-fuse-${UNIONFS_FUSE_VER}.tar.bz2"
214 UNIONFS_FUSE_BINCACHE="%%CACHE%%/unionfs-fuse-${UNIONFS_FUSE_VER}-%%ARCH%%.bz2"
216 GPG_VER="VERSION_GPG"
217 GPG_DIR="gnupg-${GPG_VER}"
218 GPG_SRCTAR="${DISTDIR}/gnupg-${GPG_VER}.tar.bz2"
219 GPG_BINCACHE="%%CACHE%%/gnupg-${GPG_VER}-%%ARCH%%.bz2"