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