1 # Genkernel Configuration File
3 # ===========GENKERNEL BASIC CONFIGURATION=============
5 # Run 'make oldconfig' before compiling this kernel?
6 # If set to "yes", also suppresses the fetch of the kernel .config file from
7 # /etc/kernels, thus preserving the .config file in /usr/src/linux.
10 # Run 'make menuconfig' before compiling this kernel?
13 # Run 'make clean' before compilation?
14 # If set to NO, implies MRPROPER WILL NOT be run
15 # Also, if clean is NO, it won't copy over any configuration
16 # file, it will use what's there.
19 # Run 'make mrproper' before configuration/compilation?
22 # Override the arch detection?
25 # Mount BOOTDIR automatically if it isn't mounted?
28 # Make symlinks in BOOTDIR automatically?
31 # Save the new configuration in /etc/kernels upon
32 # successfull compilation
35 # Use Color output in Genkernel?
38 # Add new kernel to grub?
41 # Clear build cache dir
42 # CLEAR_CACHE_DIR="yes"
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
51 # =========GENKERNEL LOCATION CONFIGURATION============
53 # %%ARCH%% - Final determined architecture
54 # %%CACHE%% - Final determined cache location
56 # Set genkernel's temporary work directory. Default is /var/tmp/genkernel
57 # TMPDIR="/var/tmp/genkernel"
59 # Set the boot directory, default is /boot
62 # Default share directory location
63 GK_SHARE="/usr/share/genkernel"
65 # Location of helper-scripts
67 # Location of the default cache
68 CACHE_DIR="/var/cache/genkernel/%%ARCH%%"
70 DEBUGFILE="/var/log/genkernel.log"
74 # Default location of kernel source
75 DEFAULT_KERNEL_SOURCE="/usr/src/linux"
76 # Default kernel config (only use to override using
77 # %%ARCH%%/kernel-config-${VER}.${PAT} !)
78 # DEFAULT_KERNEL_CONFIG="${GK_SHARE}/%%ARCH%%/kernel-config"
80 # Configuration file for busybox
81 BUSYBOX_CONFIG="${GK_SHARE}/%%ARCH%%/busy-config"
83 BUSYBOX_VER="1.1.3+gentoo"
84 # Busybox bin-cache location, to store pre-compiled busybox
85 # binary is just a bzip2 busybox executable
86 BUSYBOX_BINCACHE="%%CACHE%%/busybox-${BUSYBOX_VER}-%%ARCH%%.tar.bz2"
87 # Location of BusyBox source tarball
88 BUSYBOX_SRCTAR="${GK_SHARE}/pkg/busybox-${BUSYBOX_VER}.tar.bz2"
89 # Directory created after busybox tarball is extracted
90 BUSYBOX_DIR="busybox-${BUSYBOX_VER}"
93 DIETLIBC_SRCTAR="${GK_SHARE}/pkg/dietlibc-${DIETLIBC_VER}.tar.bz2"
94 DIETLIBC_DIR="dietlibc-${DIETLIBC_VER}"
95 DIETLIBC_BINCACHE="%%CACHE%%/dietlibc-${DIETLIBC_VER}-%%ARCH%%.tar.bz2"
96 DIETLIBC_BINCACHE_TEMP="%%CACHE%%/dietlibc-${DIETLIBC_VER}-%%ARCH%%-tempdir"
98 DEVFSD_VER="1.3.25-dietlibc-kernel25"
99 DEVFSD_SRCTAR="${GK_SHARE}/pkg/devfsd-${DEVFSD_VER}.tar.bz2"
101 DEVFSD_BINCACHE="%%CACHE%%/devfsd-${DEVFSD_VER}-%%ARCH%%.bz2"
102 DEVFSD_CONF_BINCACHE="%%CACHE%%/devfsd-conf-${DIETLIBC_VER}-%%ARCH%%.bz2"
104 DEVICE_MAPPER_VER="VERSION_DMAP"
105 DEVICE_MAPPER_DIR="device-mapper.${DEVICE_MAPPER_VER}"
106 DEVICE_MAPPER_SRCTAR="${GK_SHARE}/pkg/device-mapper.${DEVICE_MAPPER_VER}.tgz"
107 DEVICE_MAPPER_BINCACHE="%%CACHE%%/device-mapper-${DEVICE_MAPPER_VER}-%%ARCH%%.tar.bz2"
109 LVM2_VER="VERSION_LVM2"
110 LVM2_DIR="LVM2.${LVM2_VER}"
111 LVM2_SRCTAR="${GK_SHARE}/pkg/LVM2.${LVM2_VER}.tgz"
112 LVM2_BINCACHE="%%CACHE%%/LVM2.${LVM2_VER}-%%ARCH%%.tar.bz2"
114 DMRAID_VER="VERSION_DMRAID"
115 DMRAID_DIR="dmraid/${DMRAID_VER}"
116 DMRAID_SRCTAR="${GK_SHARE}/pkg/dmraid-${DMRAID_VER}.tar.bz2"
117 DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2"
119 # Kernel Version Compatibility
120 # (from http://www.am-utils.org/project-unionfs.html)
121 UNIONFS_VER="VERSION_UNIONFS"
122 UNIONFS_DIR="unionfs-${UNIONFS_VER}"
123 UNIONFS_SRCTAR="${GK_SHARE}/pkg/unionfs-${UNIONFS_VER}.tar.gz"
124 UNIONFS_BINCACHE="%%CACHE%%/unionfs-${UNIONFS_VER}-tools-%%ARCH%%.tar.bz2"
125 UNIONFS_MODULES_BINCACHE="%%CACHE%%/unionfs-${UNIONFS_VER}-modules-%%KV%%-%%ARCH%%.tar.bz2"
127 E2FSPROGS_VER="VERSION_E2FSPROGS"
128 E2FSPROGS_DIR="e2fsprogs-${E2FSPROGS_VER}"
129 E2FSPROGS_SRCTAR="${GK_SHARE}/pkg/e2fsprogs-${E2FSPROGS_VER}.tar.gz"
130 BLKID_BINCACHE="%%CACHE%%/blkid-${E2FSPROGS_VER}-%%ARCH%%.bz2"
132 #SUSPEND_VER="VERSION_SUSPEND"
133 #SUSPEND_DIR="suspend-${SUSPEND_VER}"
134 #SUSPEND_SRCTAR="${GK_SHARE}/pkg/suspend-${SUSPEND_VER}.tar.gz"
135 #SUSPEND_BINCACHE="%%CACHE%%/suspend-${SUSPEND_VER}-%%ARCH%%.tar.bz2"