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 # Add new kernel to grub?
44 # Clear build cache dir
45 # CLEAR_CACHE_DIR="yes"
47 # Genkernel uses an independent configuration for MAKEOPTS, and does not source
48 # /etc/make.conf . You can override the default setting by uncommenting and
49 # tweaking the following line. Default setting is set up by
50 # ${GK_SHARE}/${ARCH_OVERRIDE}/config.sh . The recommended value for -j
51 # argument is: <number of processors>*<number of cores per processor>+1
54 # Add in LVM support from static binaries if they exist on the system, or
55 # compile static LVM binaries if static ones do not exist.
58 # Add in EVMS support from static binaries if they exist on the system: you
59 # should run "emerge evms" first.
65 # Include (or suppresses the inclusion of) busybox in the initrd or initramfs.
66 # If included, busybox is rebuilt if the cached copy is out of date.
69 # Copy /etc/mdadm.conf to initramfs.
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 # =========Low Level Compile Settings=========
81 # GNU Make to use for kernel. See also the --kernel-make command line option.
84 # Compiler to use for the kernel (e.g. distcc). See also the --kernel-cc
85 # command line option.
88 # Assembler to use for the kernel. See also the --kernel-as command line
92 # Linker to use for the kernel. See also the --kernel-ld command line option.
95 # GNU Make to use for the utilities. See also the --utils-make command line
99 # Compiler to use for the utilities (e.g. distcc). See also the --utils-cc
100 # command line option.
103 # Assembler to use for the utilities. See also the --utils-as command line
107 # Linker to use for the utilities. See also the --utils-ld command line
111 # =========GENKERNEL LOCATION CONFIGURATION============
113 # %%ARCH%% - Final determined architecture
114 # %%CACHE%% - Final determined cache location
116 # Set genkernel's temporary work directory. Default is /var/tmp/genkernel
117 # TMPDIR="/var/tmp/genkernel"
119 # Set the boot directory, default is /boot
122 # Default share directory location
123 GK_SHARE="/usr/share/genkernel"
125 # Location of the default cache
126 CACHE_DIR="/var/cache/genkernel/%%ARCH%%"
128 LOGFILE="/var/log/genkernel.log"
132 # Default location of kernel source
133 DEFAULT_KERNEL_SOURCE="/usr/src/linux"
134 # Default kernel config (only use to override using
135 # %%ARCH%%/kernel-config-${VER}.${PAT} !)
136 # DEFAULT_KERNEL_CONFIG="${GK_SHARE}/%%ARCH%%/kernel-config"
138 # Configuration file for busybox
139 BUSYBOX_CONFIG="${GK_SHARE}/%%ARCH%%/busy-config"
141 BUSYBOX_VER="1.1.3+gentoo"
142 BUSYBOX_SRCTAR="${GK_SHARE}/pkg/busybox-${BUSYBOX_VER}.tar.bz2"
143 BUSYBOX_DIR="busybox-${BUSYBOX_VER}"
144 BUSYBOX_BINCACHE="%%CACHE%%/busybox-${BUSYBOX_VER}-%%ARCH%%.tar.bz2"
146 DEVICE_MAPPER_VER="VERSION_DMAP"
147 DEVICE_MAPPER_DIR="device-mapper.${DEVICE_MAPPER_VER}"
148 DEVICE_MAPPER_SRCTAR="${GK_SHARE}/pkg/device-mapper.${DEVICE_MAPPER_VER}.tgz"
149 DEVICE_MAPPER_BINCACHE="%%CACHE%%/device-mapper-${DEVICE_MAPPER_VER}-%%ARCH%%.tar.bz2"
151 LVM_VER="VERSION_LVM"
152 LVM_DIR="LVM2.${LVM_VER}"
153 LVM_SRCTAR="${GK_SHARE}/pkg/LVM2.${LVM_VER}.tgz"
154 LVM_BINCACHE="%%CACHE%%/LVM2.${LVM_VER}-%%ARCH%%.tar.bz2"
156 DMRAID_VER="VERSION_DMRAID"
157 DMRAID_DIR="dmraid/${DMRAID_VER}"
158 DMRAID_SRCTAR="${GK_SHARE}/pkg/dmraid-${DMRAID_VER}.tar.bz2"
159 DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2"
161 E2FSPROGS_VER="VERSION_E2FSPROGS"
162 E2FSPROGS_DIR="e2fsprogs-${E2FSPROGS_VER}"
163 E2FSPROGS_SRCTAR="${GK_SHARE}/pkg/e2fsprogs-${E2FSPROGS_VER}.tar.gz"
164 BLKID_BINCACHE="%%CACHE%%/blkid-${E2FSPROGS_VER}-%%ARCH%%.bz2"