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 # ===========GENKERNEL BASIC CONFIGURATION=============
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.
15 # Run 'make menuconfig' before compiling this kernel?
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.
24 # Run 'make mrproper' before configuration/compilation?
27 # Override the arch detection?
30 # Mount BOOTDIR automatically if it isn't mounted?
33 # Make symlinks in BOOTDIR automatically?
36 # Save the new configuration in /etc/kernels upon
37 # successfull compilation
40 # Use Color output in Genkernel?
43 # Add new kernel to grub?
46 # Clear build cache dir
47 # CLEAR_CACHE_DIR="yes"
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
56 # =========GENKERNEL LOCATION CONFIGURATION============
58 # %%ARCH%% - Final determined architecture
59 # %%CACHE%% - Final determined cache location
61 # Set genkernel's temporary work directory. Default is /var/tmp/genkernel
62 # TMPDIR="/var/tmp/genkernel"
64 # Set the boot directory, default is /boot
67 # Default share directory location
68 GK_SHARE="/usr/share/genkernel"
70 # Location of helper-scripts
72 # Location of the default cache
73 CACHE_DIR="/var/cache/genkernel/%%ARCH%%"
75 DEBUGFILE="/var/log/genkernel.log"
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"
85 # Configuration file for busybox
86 BUSYBOX_CONFIG="${GK_SHARE}/%%ARCH%%/busy-config"
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"
93 DEVFSD_VER="1.3.25-dietlibc-kernel25"
94 DEVFSD_SRCTAR="${GK_SHARE}/pkg/devfsd-${DEVFSD_VER}.tar.bz2"
96 DEVFSD_BINCACHE="%%CACHE%%/devfsd-${DEVFSD_VER}-%%ARCH%%.bz2"
97 DEVFSD_CONF_BINCACHE="%%CACHE%%/devfsd-conf-${DIETLIBC_VER}-%%ARCH%%.bz2"
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"
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"
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"
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"
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"