1 # Configuration file for genkernel
3 # This file is sourced by genkernel at startup and determines which options
4 # we will be using to compile our kernel. The order of precidence is simple,
5 # with the internal settings being least important, configuration file
6 # settings next, and command line options being most important.
8 # =========Common Command Line Option Defaults=========
10 # Run 'make oldconfig' before compiling this kernel?
13 # Run 'make menuconfig' before compiling this kernel?
16 # Run 'make clean' before compilation?
17 # If set to NO, implies MRPROPER WILL NOT be run
18 # Also, if clean is NO, it won't copy over any configuration
19 # file, it will use what's there.
22 # Run 'make mrproper' before configuration/compilation?
25 # Override the arch detection?
28 # Mount BOOTDIR automatically if it isn't mounted?
31 # Make symlinks in BOOTDIR automatically?
34 # Save the new configuration in /etc/kernels upon
35 # successfull compilation
38 # Use Color output in Genkernel?
41 # Clear build cache dir
42 # CLEAR_CACHE_DIR="yes"
44 # Genkernel uses an independent configuration for MAKEOPTS, and does not source
45 # /etc/make.conf . You can override the default setting by uncommenting and
46 # tweaking the following line. Default setting is set up by
47 # ${GK_SHARE}/${ARCH_OVERRIDE}/config.sh . The recommended value for -j
48 # argument is: <number of processors>*<number of cores per processor>+1
51 # Add in LVM support from static binaries if they exist on the system, or
52 # compile static LVM binaries if static ones do not exist.
55 # Add in EVMS support from static binaries if they exist on the system: you
56 # should run "emerge evms" first.
62 # Include (or suppresses the inclusion of) busybox in the initrd or initramfs.
63 # If included, busybox is rebuilt if the cached copy is out of date.
66 # Copy /etc/mdadm.conf to initramfs.
69 # Add Multipath support.
72 # Enable copying of firmware into initramfs
74 # Specify directory to pull from
75 # FIRMWARE_DIR="/lib/firmware"
76 # Specify specific firmware files to include. This overrides FIRMWARE_DIR
79 # Enable disklabel support (copies blkid to initrd)
82 # =========Low Level Compile Settings=========
84 # GNU Make to use for kernel. See also the --kernel-make command line option.
87 # Compiler to use for the kernel (e.g. distcc). See also the --kernel-cc
88 # command line option.
91 # Assembler to use for the kernel. See also the --kernel-as command line
95 # Linker to use for the kernel. See also the --kernel-ld command line option.
98 # GNU Make to use for the utilities. See also the --utils-make command line
102 # Compiler to use for the utilities (e.g. distcc). See also the --utils-cc
103 # command line option.
106 # Assembler to use for the utilities. See also the --utils-as command line
110 # Linker to use for the utilities. See also the --utils-ld command line
114 # =========GENKERNEL LOCATION CONFIGURATION============
116 # %%ARCH%% - Final determined architecture
117 # %%CACHE%% - Final determined cache location
119 # Set genkernel's temporary work directory. Default is /var/tmp/genkernel
120 # TMPDIR="/var/tmp/genkernel"
122 # Set the boot directory, default is /boot
125 # Default share directory location
126 GK_SHARE="/usr/share/genkernel"
128 # Location of the default cache
129 CACHE_DIR="/var/cache/genkernel"
130 # Location of DISTDIR, where our source tarballs are stored
131 DISTDIR="${CACHE_DIR}/src"
133 LOGFILE="/var/log/genkernel.log"
137 # Default location of kernel source
138 DEFAULT_KERNEL_SOURCE="/usr/src/linux"
139 # Default kernel config (only use to override using
140 # arch/%%ARCH%%/kernel-config-${VER}.${PAT} !)
141 # DEFAULT_KERNEL_CONFIG="${GK_SHARE}/arch/%%ARCH%%/kernel-config"
143 BUSYBOX_VER="VERSION_BUSYBOX"
144 BUSYBOX_SRCTAR="${DISTDIR}/busybox-${BUSYBOX_VER}.tar.bz2"
145 BUSYBOX_DIR="busybox-${BUSYBOX_VER}"
146 BUSYBOX_BINCACHE="%%CACHE%%/busybox-${BUSYBOX_VER}-%%ARCH%%.tar.bz2"
148 DEVICE_MAPPER_VER="VERSION_DMAP"
149 DEVICE_MAPPER_DIR="device-mapper.${DEVICE_MAPPER_VER}"
150 DEVICE_MAPPER_SRCTAR="${DISTDIR}/device-mapper.${DEVICE_MAPPER_VER}.tgz"
151 DEVICE_MAPPER_BINCACHE="%%CACHE%%/device-mapper-${DEVICE_MAPPER_VER}-%%ARCH%%.tar.bz2"
153 LVM_VER="VERSION_LVM"
154 LVM_DIR="LVM2.${LVM_VER}"
155 LVM_SRCTAR="${DISTDIR}/LVM2.${LVM_VER}.tgz"
156 LVM_BINCACHE="%%CACHE%%/LVM2.${LVM_VER}-%%ARCH%%.tar.bz2"
158 DMRAID_VER="VERSION_DMRAID"
159 DMRAID_DIR="dmraid/${DMRAID_VER}"
160 DMRAID_SRCTAR="${DISTDIR}/dmraid-${DMRAID_VER}.tar.bz2"
161 DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2"
163 ISCSI_VER="VERSION_ISCSI"
164 ISCSI_DIR="open-iscsi-${ISCSI_VER}"
165 ISCSI_SRCTAR="${DISTDIR}/open-iscsi-${ISCSI_VER}.tar.gz"
166 ISCSI_BINCACHE="%%CACHE%%/iscsi-${ISCSI_VER}-%%ARCH%%.bz2"
168 E2FSPROGS_VER="VERSION_E2FSPROGS"
169 E2FSPROGS_DIR="e2fsprogs-${E2FSPROGS_VER}"
170 E2FSPROGS_SRCTAR="${DISTDIR}/e2fsprogs-${E2FSPROGS_VER}.tar.gz"
171 BLKID_BINCACHE="%%CACHE%%/blkid-${E2FSPROGS_VER}-%%ARCH%%.bz2"
173 FUSE_VER="VERSION_FUSE"
174 FUSE_DIR="fuse-${FUSE_VER}"
175 FUSE_SRCTAR="${DISTDIR}/fuse-${FUSE_VER}.tar.gz"
176 FUSE_BINCACHE="%%CACHE%%/fuse-${FUSE_VER}-%%ARCH%%.tar.bz2"
178 UNIONFS_FUSE_VER="VERSION_UNIONFS_FUSE"
179 UNIONFS_FUSE_DIR="unionfs-fuse-${UNIONFS_FUSE_VER}"
180 UNIONFS_FUSE_SRCTAR="${DISTDIR}/unionfs-fuse-${UNIONFS_FUSE_VER}.tar.bz2"
181 UNIONFS_FUSE_BINCACHE="%%CACHE%%/unionfs-fuse-${UNIONFS_FUSE_VER}-%%ARCH%%.bz2"