e1dd86a17cda60b5cc71923e8f34ab6352ac3524
[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 # Add new kernel to grub?
42 # BOOTLOADER="grub"
43
44 # Clear build cache dir
45 # CLEAR_CACHE_DIR="yes"
46
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
52 # MAKEOPTS="-j2"
53
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.
56 # LVM="no"
57
58 # Add in EVMS support from static binaries if they exist on the system: you
59 # should run "emerge evms" first.
60 # EVMS="no"
61
62 # Add DMRAID support.
63 # DMRAID="no"
64
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.
67 # BUSYBOX="yes"
68
69 # Copy /etc/mdadm.conf to initramfs.
70 # MDADM="no"
71
72 # Enable copying of firmware into initramfs
73 # FIRMWARE="no"
74 # Specify directory to pull from
75 # FIRMWARE_DIR="/lib/firmware"
76 # Specify specific firmware files to include. This overrides FIRMWARE_DIR
77 # FIRMWARE_FILES=""
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/%%ARCH%%"
127 # Log output file
128 LOGFILE="/var/log/genkernel.log"
129 # Debug Level
130 LOGLEVEL=1
131
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"
137
138 # Configuration file for busybox
139 BUSYBOX_CONFIG="${GK_SHARE}/%%ARCH%%/busy-config"
140
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"
145
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"
150
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"
155
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"
160
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"
165