41ed04741a31ecbf29043de0a78d9b8d8924ddcb
[genkernel.git] / genkernel.conf
1 # Configuration file for genkernel
2
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.
7
8 # =========Common Command Line Option Defaults=========
9
10 # Run 'make oldconfig' before compiling this kernel?
11 OLDCONFIG="yes"
12
13 # Run 'make menuconfig' before compiling this kernel?
14 MENUCONFIG="no"
15
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.
20 CLEAN="yes"
21
22 # Run 'make mrproper' before configuration/compilation?
23 MRPROPER="yes"
24
25 # Override the arch detection?
26 # ARCH_OVERRIDE="x86"
27
28 # Mount BOOTDIR automatically if it isn't mounted?
29 MOUNTBOOT="yes"
30
31 # Make symlinks in BOOTDIR automatically?
32 # SYMLINK="no"
33
34 # Save the new configuration in /etc/kernels upon
35 # successfull compilation
36 SAVE_CONFIG="yes"
37
38 # Use Color output in Genkernel?
39 USECOLOR="yes"
40
41 # Clear build cache dir
42 # CLEAR_CACHE_DIR="yes"
43
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
49 # MAKEOPTS="-j2"
50
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.
53 # LVM="no"
54
55 # Add in EVMS support from static binaries if they exist on the system: you
56 # should run "emerge evms" first.
57 # EVMS="no"
58
59 # Add DMRAID support.
60 # DMRAID="no"
61
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.
64 # BUSYBOX="yes"
65
66 # Copy /etc/mdadm.conf to initramfs.
67 # MDADM="no"
68
69 # Enable copying of firmware into initramfs
70 # FIRMWARE="no"
71 # Specify directory to pull from
72 # FIRMWARE_DIR="/lib/firmware"
73 # Specify specific firmware files to include. This overrides FIRMWARE_DIR
74 # FIRMWARE_FILES=""
75
76 # Enable disklabel support (copies blkid to initrd)
77 # DISKLABEL="yes"
78
79 # =========Low Level Compile Settings=========
80 #
81 # GNU Make to use for kernel.  See also the --kernel-make command line option.
82 # KERNEL_MAKE="make"
83
84 # Compiler to use for the kernel (e.g. distcc).  See also the --kernel-cc
85 # command line option.
86 # KERNEL_CC="gcc"
87
88 # Assembler to use for the kernel.  See also the --kernel-as command line
89 # option.
90 # KERNEL_AS="as"
91
92 # Linker to use for the kernel.  See also the --kernel-ld command line option.
93 # KERNEL_LD="ld"
94
95 # GNU Make to use for the utilities.  See also the --utils-make command line
96 # option.
97 # UTILS_MAKE="make"
98
99 # Compiler to use for the utilities (e.g. distcc).  See also the --utils-cc
100 # command line option.
101 # UTILS_CC="gcc"
102
103 # Assembler to use for the utilities.  See also the --utils-as command line
104 # option.
105 # UTILS_AS="as"
106
107 # Linker to use for the utilities.  See also the --utils-ld command line
108 # option.
109 # UTILS_LD="ld"
110
111 # =========GENKERNEL LOCATION CONFIGURATION============
112 # Variables:
113 #   %%ARCH%%  - Final determined architecture
114 #   %%CACHE%% - Final determined cache location
115
116 # Set genkernel's temporary work directory.  Default is /var/tmp/genkernel
117 # TMPDIR="/var/tmp/genkernel"
118
119 # Set the boot directory, default is /boot
120 #BOOTDIR="/boot"
121
122 # Default share directory location
123 GK_SHARE="/usr/share/genkernel"
124
125 # Location of the default cache
126 CACHE_DIR="/var/cache/genkernel"
127 # Location of DISTDIR, where our source tarballs are stored
128 DISTDIR="${CACHE_DIR}/src"
129 # Log output file
130 LOGFILE="/var/log/genkernel.log"
131 # Debug Level
132 LOGLEVEL=1
133
134 # Default location of kernel source
135 DEFAULT_KERNEL_SOURCE="/usr/src/linux"
136 # Default kernel config (only use to override using
137 # arch/%%ARCH%%/kernel-config-${VER}.${PAT} !)
138 # DEFAULT_KERNEL_CONFIG="${GK_SHARE}/arch/%%ARCH%%/kernel-config"
139
140 BUSYBOX_VER="VERSION_BUSYBOX"
141 BUSYBOX_SRCTAR="${DISTDIR}/busybox-${BUSYBOX_VER}.tar.bz2"
142 BUSYBOX_DIR="busybox-${BUSYBOX_VER}"
143 BUSYBOX_BINCACHE="%%CACHE%%/busybox-${BUSYBOX_VER}-%%ARCH%%.tar.bz2"
144
145 DEVICE_MAPPER_VER="VERSION_DMAP"
146 DEVICE_MAPPER_DIR="device-mapper.${DEVICE_MAPPER_VER}"
147 DEVICE_MAPPER_SRCTAR="${DISTDIR}/device-mapper.${DEVICE_MAPPER_VER}.tgz"
148 DEVICE_MAPPER_BINCACHE="%%CACHE%%/device-mapper-${DEVICE_MAPPER_VER}-%%ARCH%%.tar.bz2"
149
150 LVM_VER="VERSION_LVM"
151 LVM_DIR="LVM2.${LVM_VER}"
152 LVM_SRCTAR="${DISTDIR}/LVM2.${LVM_VER}.tgz"
153 LVM_BINCACHE="%%CACHE%%/LVM2.${LVM_VER}-%%ARCH%%.tar.bz2"
154
155 DMRAID_VER="VERSION_DMRAID"
156 DMRAID_DIR="dmraid/${DMRAID_VER}"
157 DMRAID_SRCTAR="${DISTDIR}/dmraid-${DMRAID_VER}.tar.bz2"
158 DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2"
159
160 E2FSPROGS_VER="VERSION_E2FSPROGS"
161 E2FSPROGS_DIR="e2fsprogs-${E2FSPROGS_VER}"
162 E2FSPROGS_SRCTAR="${DISTDIR}/e2fsprogs-${E2FSPROGS_VER}.tar.gz"
163 BLKID_BINCACHE="%%CACHE%%/blkid-${E2FSPROGS_VER}-%%ARCH%%.bz2"
164
165 FUSE_VER="VERSION_FUSE"
166 FUSE_DIR="fuse-${FUSE_VER}"
167 FUSE_SRCTAR="${DISTDIR}/fuse-${FUSE_VER}.tar.gz"
168 FUSE_BINCACHE="%%CACHE%%/fuse-${FUSE_VER}-%%ARCH%%.tar.bz2"
169
170 UNIONFS_FUSE_VER="VERSION_UNIONFS_FUSE"
171 UNIONFS_FUSE_DIR="unionfs-fuse-${UNIONFS_FUSE_VER}"
172 UNIONFS_FUSE_SRCTAR="${DISTDIR}/unionfs-fuse-${UNIONFS_FUSE_VER}.tar.bz2"
173 UNIONFS_FUSE_BINCACHE="%%CACHE%%/unionfs-fuse-${UNIONFS_FUSE_VER}-%%ARCH%%.bz2"