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 # Enable copying of firmware into initramfs
71 # Specify directory to pull from
72 # FIRMWARE_DIR="/lib/firmware"
73 # Specify specific firmware files to include. This overrides FIRMWARE_DIR
76 # =========Low Level Compile Settings=========
78 # GNU Make to use for kernel. See also the --kernel-make command line option.
81 # Compiler to use for the kernel (e.g. distcc). See also the --kernel-cc
82 # command line option.
85 # Assembler to use for the kernel. See also the --kernel-as command line
89 # Linker to use for the kernel. See also the --kernel-ld command line option.
92 # GNU Make to use for the utilities. See also the --utils-make command line
96 # Compiler to use for the utilities (e.g. distcc). See also the --utils-cc
97 # command line option.
100 # Assembler to use for the utilities. See also the --utils-as command line
104 # Linker to use for the utilities. See also the --utils-ld command line
108 # =========GENKERNEL LOCATION CONFIGURATION============
110 # %%ARCH%% - Final determined architecture
111 # %%CACHE%% - Final determined cache location
113 # Set genkernel's temporary work directory. Default is /var/tmp/genkernel
114 # TMPDIR="/var/tmp/genkernel"
116 # Set the boot directory, default is /boot
119 # Default share directory location
120 GK_SHARE="/usr/share/genkernel"
122 # Location of the default cache
123 CACHE_DIR="/var/cache/genkernel"
124 # Location of DISTDIR, where our source tarballs are stored
125 DISTDIR="${CACHE_DIR}/src"
127 LOGFILE="/var/log/genkernel.log"
131 # Default location of kernel source
132 DEFAULT_KERNEL_SOURCE="/usr/src/linux"
133 # Default kernel config (only use to override using
134 # arch/%%ARCH%%/kernel-config-${VER}.${PAT} !)
135 # DEFAULT_KERNEL_CONFIG="${GK_SHARE}/arch/%%ARCH%%/kernel-config"
137 BUSYBOX_VER="VERSION_BUSYBOX"
138 BUSYBOX_SRCTAR="${DISTDIR}/busybox-${BUSYBOX_VER}.tar.bz2"
139 BUSYBOX_DIR="busybox-${BUSYBOX_VER}"
140 BUSYBOX_BINCACHE="%%CACHE%%/busybox-${BUSYBOX_VER}-%%ARCH%%.tar.bz2"
142 DEVICE_MAPPER_VER="VERSION_DMAP"
143 DEVICE_MAPPER_DIR="device-mapper.${DEVICE_MAPPER_VER}"
144 DEVICE_MAPPER_SRCTAR="${DISTDIR}/device-mapper.${DEVICE_MAPPER_VER}.tgz"
145 DEVICE_MAPPER_BINCACHE="%%CACHE%%/device-mapper-${DEVICE_MAPPER_VER}-%%ARCH%%.tar.bz2"
147 LVM_VER="VERSION_LVM"
148 LVM_DIR="LVM2.${LVM_VER}"
149 LVM_SRCTAR="${DISTDIR}/LVM2.${LVM_VER}.tgz"
150 LVM_BINCACHE="%%CACHE%%/LVM2.${LVM_VER}-%%ARCH%%.tar.bz2"
152 DMRAID_VER="VERSION_DMRAID"
153 DMRAID_DIR="dmraid/${DMRAID_VER}"
154 DMRAID_SRCTAR="${DISTDIR}/dmraid-${DMRAID_VER}.tar.bz2"
155 DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2"
157 E2FSPROGS_VER="VERSION_E2FSPROGS"
158 E2FSPROGS_DIR="e2fsprogs-${E2FSPROGS_VER}"
159 E2FSPROGS_SRCTAR="${DISTDIR}/e2fsprogs-${E2FSPROGS_VER}.tar.gz"
160 BLKID_BINCACHE="%%CACHE%%/blkid-${E2FSPROGS_VER}-%%ARCH%%.bz2"
162 FUSE_VER="VERSION_FUSE"
163 FUSE_DIR="fuse-${FUSE_VER}"
164 FUSE_SRCTAR="${DISTDIR}/fuse-${FUSE_VER}.tar.gz"
165 FUSE_BINCACHE="%%CACHE%%/fuse-${FUSE_VER}-%%ARCH%%.tar.bz2"
167 UNIONFS_FUSE_VER="VERSION_UNIONFS_FUSE"
168 UNIONFS_FUSE_DIR="unionfs-fuse-${UNIONFS_FUSE_VER}"
169 UNIONFS_FUSE_SRCTAR="${DISTDIR}/unionfs-fuse-${UNIONFS_FUSE_VER}.tar.bz2"
170 UNIONFS_FUSE_BINCACHE="%%CACHE%%/unionfs-fuse-${UNIONFS_FUSE_VER}-%%ARCH%%.bz2"