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 EVMS support from static binaries if they exist on the system: you
57 # should run "emerge evms" first.
63 # Include (or suppresses the inclusion of) busybox in the initrd or initramfs.
64 # If included, busybox is rebuilt if the cached copy is out of date.
67 # Copy /etc/mdadm.conf to initramfs.
70 # Add Multipath support.
73 # Enable copying of firmware into initramfs
75 # Specify directory to pull from
76 # FIRMWARE_DIR="/lib/firmware"
77 # Specify specific firmware files to include. This overrides FIRMWARE_DIR
80 # Enable disklabel support (copies blkid to initrd)
83 # Add new kernel to grub?
86 # =========Low Level Compile Settings=========
88 # GNU Make to use for kernel. See also the --kernel-make command line option.
91 # Compiler to use for the kernel (e.g. distcc). See also the --kernel-cc
92 # command line option.
95 # Assembler to use for the kernel. See also the --kernel-as command line
99 # Linker to use for the kernel. See also the --kernel-ld command line option.
102 # GNU Make to use for the utilities. See also the --utils-make command line
106 # Compiler to use for the utilities (e.g. distcc). See also the --utils-cc
107 # command line option.
110 # Assembler to use for the utilities. See also the --utils-as command line
114 # Linker to use for the utilities. See also the --utils-ld command line
118 # =========GENKERNEL LOCATION CONFIGURATION============
120 # %%ARCH%% - Final determined architecture
121 # %%CACHE%% - Final determined cache location
123 # Set genkernel's temporary work directory. Default is /var/tmp/genkernel
124 # TMPDIR="/var/tmp/genkernel"
126 # Set the boot directory, default is /boot
129 # Default share directory location
130 GK_SHARE="/usr/share/genkernel"
132 # Location of the default cache
133 CACHE_DIR="/var/cache/genkernel"
134 # Location of DISTDIR, where our source tarballs are stored
135 DISTDIR="${CACHE_DIR}/src"
137 LOGFILE="/var/log/genkernel.log"
141 # Default location of kernel source
142 DEFAULT_KERNEL_SOURCE="/usr/src/linux"
143 # Default kernel config (only use to override using
144 # arch/%%ARCH%%/kernel-config-${VER}.${PAT} !)
145 # DEFAULT_KERNEL_CONFIG="${GK_SHARE}/arch/%%ARCH%%/kernel-config"
147 BUSYBOX_VER="VERSION_BUSYBOX"
148 BUSYBOX_SRCTAR="${DISTDIR}/busybox-${BUSYBOX_VER}.tar.bz2"
149 BUSYBOX_DIR="busybox-${BUSYBOX_VER}"
150 BUSYBOX_BINCACHE="%%CACHE%%/busybox-${BUSYBOX_VER}-%%ARCH%%.tar.bz2"
152 DEVICE_MAPPER_VER="VERSION_DMAP"
153 DEVICE_MAPPER_DIR="device-mapper.${DEVICE_MAPPER_VER}"
154 DEVICE_MAPPER_SRCTAR="${DISTDIR}/device-mapper.${DEVICE_MAPPER_VER}.tgz"
155 DEVICE_MAPPER_BINCACHE="%%CACHE%%/device-mapper-${DEVICE_MAPPER_VER}-%%ARCH%%.tar.bz2"
157 LVM_VER="VERSION_LVM"
158 LVM_DIR="LVM2.${LVM_VER}"
159 LVM_SRCTAR="${DISTDIR}/LVM2.${LVM_VER}.tgz"
160 LVM_BINCACHE="%%CACHE%%/LVM2.${LVM_VER}-%%ARCH%%.tar.bz2"
162 DMRAID_VER="VERSION_DMRAID"
163 DMRAID_DIR="dmraid/${DMRAID_VER}"
164 DMRAID_SRCTAR="${DISTDIR}/dmraid-${DMRAID_VER}.tar.bz2"
165 DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2"
167 E2FSPROGS_VER="VERSION_E2FSPROGS"
168 E2FSPROGS_DIR="e2fsprogs-${E2FSPROGS_VER}"
169 E2FSPROGS_SRCTAR="${DISTDIR}/e2fsprogs-${E2FSPROGS_VER}.tar.gz"
170 BLKID_BINCACHE="%%CACHE%%/blkid-${E2FSPROGS_VER}-%%ARCH%%.bz2"
172 FUSE_VER="VERSION_FUSE"
173 FUSE_DIR="fuse-${FUSE_VER}"
174 FUSE_SRCTAR="${DISTDIR}/fuse-${FUSE_VER}.tar.gz"
175 FUSE_BINCACHE="%%CACHE%%/fuse-${FUSE_VER}-%%ARCH%%.tar.bz2"
177 UNIONFS_FUSE_VER="VERSION_UNIONFS_FUSE"
178 UNIONFS_FUSE_DIR="unionfs-fuse-${UNIONFS_FUSE_VER}"
179 UNIONFS_FUSE_SRCTAR="${DISTDIR}/unionfs-fuse-${UNIONFS_FUSE_VER}.tar.bz2"
180 UNIONFS_FUSE_BINCACHE="%%CACHE%%/unionfs-fuse-${UNIONFS_FUSE_VER}-%%ARCH%%.bz2"