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 # Copy /etc/mdadm.conf to initramfs.
76 # Add Multipath support.
82 # Enable copying of firmware into initramfs
84 # Specify directory to pull from
85 # FIRMWARE_DIR="/lib/firmware"
86 # Specify specific firmware files to include. This overrides FIRMWARE_DIR
89 # Enable disklabel support (copies blkid to initrd)
92 # Add new kernel to grub?
95 # =========Low Level Compile Settings=========
97 # GNU Make to use for kernel. See also the --kernel-make command line option.
100 # Compiler to use for the kernel (e.g. distcc). See also the --kernel-cc
101 # command line option.
104 # Assembler to use for the kernel. See also the --kernel-as command line
108 # Linker to use for the kernel. See also the --kernel-ld command line option.
111 # GNU Make to use for the utilities. See also the --utils-make command line
115 # Compiler to use for the utilities (e.g. distcc). See also the --utils-cc
116 # command line option.
119 # Assembler to use for the utilities. See also the --utils-as command line
123 # Linker to use for the utilities. See also the --utils-ld command line
127 # =========GENKERNEL LOCATION CONFIGURATION============
129 # %%ARCH%% - Final determined architecture
130 # %%CACHE%% - Final determined cache location
132 # Set genkernel's temporary work directory. Default is /var/tmp/genkernel
133 # TMPDIR="/var/tmp/genkernel"
135 # Set the boot directory, default is /boot
138 # Default share directory location
139 GK_SHARE="${GK_SHARE:-/usr/share/genkernel}"
141 # Location of the default cache
142 CACHE_DIR="/var/cache/genkernel"
143 # Location of DISTDIR, where our source tarballs are stored
144 DISTDIR="${CACHE_DIR}/src"
146 LOGFILE="/var/log/genkernel.log"
150 # Default location of kernel source
151 DEFAULT_KERNEL_SOURCE="/usr/src/linux"
152 # Default kernel config (only use to override using
153 # arch/%%ARCH%%/kernel-config-${VER}.${PAT} !)
154 # DEFAULT_KERNEL_CONFIG="${GK_SHARE}/arch/%%ARCH%%/kernel-config"
156 BUSYBOX_VER="VERSION_BUSYBOX"
157 BUSYBOX_SRCTAR="${DISTDIR}/busybox-${BUSYBOX_VER}.tar.bz2"
158 BUSYBOX_DIR="busybox-${BUSYBOX_VER}"
159 BUSYBOX_BINCACHE="%%CACHE%%/busybox-${BUSYBOX_VER}-%%ARCH%%.tar.bz2"
160 # BUSYBOX_APPLETS="[ ash sh mount uname echo cut cat"
162 DEVICE_MAPPER_VER="VERSION_DMAP"
163 DEVICE_MAPPER_DIR="device-mapper.${DEVICE_MAPPER_VER}"
164 DEVICE_MAPPER_SRCTAR="${DISTDIR}/device-mapper.${DEVICE_MAPPER_VER}.tgz"
165 DEVICE_MAPPER_BINCACHE="%%CACHE%%/device-mapper-${DEVICE_MAPPER_VER}-%%ARCH%%.tar.bz2"
167 LVM_VER="VERSION_LVM"
168 LVM_DIR="LVM2.${LVM_VER}"
169 LVM_SRCTAR="${DISTDIR}/LVM2.${LVM_VER}.tgz"
170 LVM_BINCACHE="%%CACHE%%/LVM2.${LVM_VER}-%%ARCH%%.tar.bz2"
172 DMRAID_VER="VERSION_DMRAID"
173 DMRAID_DIR="dmraid/${DMRAID_VER}"
174 DMRAID_SRCTAR="${DISTDIR}/dmraid-${DMRAID_VER}.tar.bz2"
175 DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2"
177 ISCSI_VER="VERSION_ISCSI"
178 ISCSI_DIR="open-iscsi-${ISCSI_VER}"
179 ISCSI_SRCTAR="${DISTDIR}/open-iscsi-${ISCSI_VER}.tar.gz"
180 ISCSI_BINCACHE="%%CACHE%%/iscsi-${ISCSI_VER}-%%ARCH%%.bz2"
182 E2FSPROGS_VER="VERSION_E2FSPROGS"
183 E2FSPROGS_DIR="e2fsprogs-${E2FSPROGS_VER}"
184 E2FSPROGS_SRCTAR="${DISTDIR}/e2fsprogs-${E2FSPROGS_VER}.tar.gz"
185 BLKID_BINCACHE="%%CACHE%%/blkid-${E2FSPROGS_VER}-%%ARCH%%.bz2"
187 FUSE_VER="VERSION_FUSE"
188 FUSE_DIR="fuse-${FUSE_VER}"
189 FUSE_SRCTAR="${DISTDIR}/fuse-${FUSE_VER}.tar.gz"
190 FUSE_BINCACHE="%%CACHE%%/fuse-${FUSE_VER}-%%ARCH%%.tar.bz2"
192 UNIONFS_FUSE_VER="VERSION_UNIONFS_FUSE"
193 UNIONFS_FUSE_DIR="unionfs-fuse-${UNIONFS_FUSE_VER}"
194 UNIONFS_FUSE_SRCTAR="${DISTDIR}/unionfs-fuse-${UNIONFS_FUSE_VER}.tar.bz2"
195 UNIONFS_FUSE_BINCACHE="%%CACHE%%/unionfs-fuse-${UNIONFS_FUSE_VER}-%%ARCH%%.bz2"
197 GPG_VER="VERSION_GPG"
198 GPG_DIR="gnupg-${GPG_VER}"
199 GPG_SRCTAR="${DISTDIR}/gnupg-${GPG_VER}.tar.bz2"
200 GPG_BINCACHE="%%CACHE%%/gnupg-${GPG_VER}-%%ARCH%%.bz2"