Updated TODO and cleaning up genkernel.conf a bit.
[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 # ===========GENKERNEL BASIC CONFIGURATION=============
9
10 # Run 'make oldconfig' before compiling this kernel?
11 # If set to "yes", also suppresses the fetch of the kernel .config file from
12 # /etc/kernels, thus preserving the .config file in /usr/src/linux.
13 # OLDCONFIG="no"
14
15 # Run 'make menuconfig' before compiling this kernel?
16 MENUCONFIG="no"
17
18 # Run 'make clean' before compilation?
19 # If set to NO, implies MRPROPER WILL NOT be run
20 # Also, if clean is NO, it won't copy over any configuration
21 # file, it will use what's there.
22 CLEAN="yes"
23
24 # Run 'make mrproper' before configuration/compilation?
25 MRPROPER="yes"
26
27 # Override the arch detection?
28 # ARCH_OVERRIDE="x86"
29
30 # Mount BOOTDIR automatically if it isn't mounted?
31 MOUNTBOOT="yes"
32
33 # Make symlinks in BOOTDIR automatically?
34 # SYMLINK="no"
35
36 # Save the new configuration in /etc/kernels upon
37 # successfull compilation
38 SAVE_CONFIG="yes"
39
40 # Use Color output in Genkernel?
41 USECOLOR="yes"
42
43 # Add new kernel to grub?
44 # BOOTLOADER="grub"
45
46 # Clear build cache dir
47 # CLEAR_CACHE_DIR="yes"
48
49 # Genkernel uses an independent configuration for MAKEOPTS, and does not source
50 # /etc/make.conf . You can override the default setting by uncommenting and
51 # tweaking the following line. Default setting is set up by
52 # ${GK_SHARE}/${ARCH_OVERRIDE}/config.sh . The recommended value for -j
53 # argument is: <number of processors>*<number of cores per processor>+1
54 # MAKEOPTS="-j2"
55
56 # =========GENKERNEL LOCATION CONFIGURATION============
57 # Variables:
58 #   %%ARCH%%  - Final determined architecture
59 #   %%CACHE%% - Final determined cache location
60
61 # Set genkernel's temporary work directory.  Default is /var/tmp/genkernel
62 # TMPDIR="/var/tmp/genkernel"
63
64 # Set the boot directory, default is /boot
65 #BOOTDIR="/boot"
66
67 # Default share directory location
68 GK_SHARE="/usr/share/genkernel"
69
70 # Location of helper-scripts
71 GK_BIN="${GK_SHARE}"
72 # Location of the default cache
73 CACHE_DIR="/var/cache/genkernel/%%ARCH%%"
74 # Log output file
75 DEBUGFILE="/var/log/genkernel.log"
76 # Debug Level
77 DEBUGLEVEL=1
78
79 # Default location of kernel source
80 DEFAULT_KERNEL_SOURCE="/usr/src/linux"
81 # Default kernel config (only use to override using
82 # %%ARCH%%/kernel-config-${VER}.${PAT} !)
83 # DEFAULT_KERNEL_CONFIG="${GK_SHARE}/%%ARCH%%/kernel-config"
84
85 # Configuration file for busybox
86 BUSYBOX_CONFIG="${GK_SHARE}/%%ARCH%%/busy-config"
87
88 BUSYBOX_VER="1.1.3+gentoo"
89 BUSYBOX_SRCTAR="${GK_SHARE}/pkg/busybox-${BUSYBOX_VER}.tar.bz2"
90 BUSYBOX_DIR="busybox-${BUSYBOX_VER}"
91 BUSYBOX_BINCACHE="%%CACHE%%/busybox-${BUSYBOX_VER}-%%ARCH%%.tar.bz2"
92
93 DEVFSD_VER="1.3.25-dietlibc-kernel25"
94 DEVFSD_SRCTAR="${GK_SHARE}/pkg/devfsd-${DEVFSD_VER}.tar.bz2"
95 DEVFSD_DIR="devfsd"
96 DEVFSD_BINCACHE="%%CACHE%%/devfsd-${DEVFSD_VER}-%%ARCH%%.bz2"
97 DEVFSD_CONF_BINCACHE="%%CACHE%%/devfsd-conf-${DIETLIBC_VER}-%%ARCH%%.bz2"
98
99 DEVICE_MAPPER_VER="VERSION_DMAP"
100 DEVICE_MAPPER_DIR="device-mapper.${DEVICE_MAPPER_VER}"
101 DEVICE_MAPPER_SRCTAR="${GK_SHARE}/pkg/device-mapper.${DEVICE_MAPPER_VER}.tgz"
102 DEVICE_MAPPER_BINCACHE="%%CACHE%%/device-mapper-${DEVICE_MAPPER_VER}-%%ARCH%%.tar.bz2"
103
104 LVM_VER="VERSION_LVM"
105 LVM_DIR="LVM.${LVM_VER}"
106 LVM_SRCTAR="${GK_SHARE}/pkg/LVM.${LVM_VER}.tgz"
107 LVM_BINCACHE="%%CACHE%%/LVM.${LVM_VER}-%%ARCH%%.tar.bz2"
108
109 DMRAID_VER="VERSION_DMRAID"
110 DMRAID_DIR="dmraid/${DMRAID_VER}"
111 DMRAID_SRCTAR="${GK_SHARE}/pkg/dmraid-${DMRAID_VER}.tar.bz2"
112 DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2"
113
114 # Kernel Version Compatibility
115 # (from http://www.am-utils.org/project-unionfs.html)
116 UNIONFS_VER="VERSION_UNIONFS"
117 UNIONFS_DIR="unionfs-${UNIONFS_VER}"
118 UNIONFS_SRCTAR="${GK_SHARE}/pkg/unionfs-${UNIONFS_VER}.tar.gz"
119 UNIONFS_BINCACHE="%%CACHE%%/unionfs-${UNIONFS_VER}-tools-%%ARCH%%.tar.bz2"
120 UNIONFS_MODULES_BINCACHE="%%CACHE%%/unionfs-${UNIONFS_VER}-modules-%%KV%%-%%ARCH%%.tar.bz2"
121
122 E2FSPROGS_VER="VERSION_E2FSPROGS"
123 E2FSPROGS_DIR="e2fsprogs-${E2FSPROGS_VER}"
124 E2FSPROGS_SRCTAR="${GK_SHARE}/pkg/e2fsprogs-${E2FSPROGS_VER}.tar.gz"
125 BLKID_BINCACHE="%%CACHE%%/blkid-${E2FSPROGS_VER}-%%ARCH%%.bz2"
126