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 # Copy bootsplash into the initrd image?
25 # Override the arch detection?
28 # Mount BOOTDIR automatically if it isn't mounted?
31 # Make symlinks in BOOTDIR automatically?
34 # Save the new configuration in /etc/kernels upon
35 # successfull compilation
38 # Use Color output in Genkernel?
41 # Add new kernel to grub?
44 # Clear build cache dir
45 # CLEAR_CACHE_DIR="yes"
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
54 # =========GENKERNEL LOCATION CONFIGURATION============
56 # %%ARCH%% - Final determined architecture
57 # %%CACHE%% - Final determined cache location
59 # Set genkernel's temporary work directory. Default is /var/tmp/genkernel
60 # TMPDIR="/var/tmp/genkernel"
62 # Set the boot directory, default is /boot
65 # Default share directory location
66 GK_SHARE="/usr/share/genkernel"
68 # Location of helper-scripts
70 # Location of the default cache
71 CACHE_DIR="/var/cache/genkernel/%%ARCH%%"
73 DEBUGFILE="/var/log/genkernel.log"
77 # Default location of kernel source
78 DEFAULT_KERNEL_SOURCE="/usr/src/linux"
79 # Default kernel config (only use to override using
80 # %%ARCH%%/kernel-config-${VER}.${PAT} !)
81 # DEFAULT_KERNEL_CONFIG="${GK_SHARE}/%%ARCH%%/kernel-config"
83 # Configuration file for busybox
84 BUSYBOX_CONFIG="${GK_SHARE}/%%ARCH%%/busy-config"
86 BUSYBOX_VER="1.1.3+gentoo"
87 # Busybox bin-cache location, to store pre-compiled busybox
88 # binary is just a bzip2 busybox executable
89 BUSYBOX_BINCACHE="%%CACHE%%/busybox-${BUSYBOX_VER}-%%ARCH%%.tar.bz2"
90 # Location of BusyBox source tarball
91 BUSYBOX_SRCTAR="${GK_SHARE}/pkg/busybox-${BUSYBOX_VER}.tar.bz2"
92 # Directory created after busybox tarball is extracted
93 BUSYBOX_DIR="busybox-${BUSYBOX_VER}"
96 DIETLIBC_SRCTAR="${GK_SHARE}/pkg/dietlibc-${DIETLIBC_VER}.tar.bz2"
97 DIETLIBC_DIR="dietlibc-${DIETLIBC_VER}"
98 DIETLIBC_BINCACHE="%%CACHE%%/dietlibc-${DIETLIBC_VER}-%%ARCH%%.tar.bz2"
99 DIETLIBC_BINCACHE_TEMP="%%CACHE%%/dietlibc-${DIETLIBC_VER}-%%ARCH%%-tempdir"
101 DEVFSD_VER="1.3.25-dietlibc-kernel25"
102 DEVFSD_SRCTAR="${GK_SHARE}/pkg/devfsd-${DEVFSD_VER}.tar.bz2"
104 DEVFSD_BINCACHE="%%CACHE%%/devfsd-${DEVFSD_VER}-%%ARCH%%.bz2"
105 DEVFSD_CONF_BINCACHE="%%CACHE%%/devfsd-conf-${DIETLIBC_VER}-%%ARCH%%.bz2"
107 DEVICE_MAPPER_VER="VERSION_DMAP"
108 DEVICE_MAPPER_DIR="device-mapper.${DEVICE_MAPPER_VER}"
109 DEVICE_MAPPER_SRCTAR="${GK_SHARE}/pkg/device-mapper.${DEVICE_MAPPER_VER}.tgz"
110 DEVICE_MAPPER_BINCACHE="%%CACHE%%/device-mapper-${DEVICE_MAPPER_VER}-%%ARCH%%.tar.bz2"
112 LVM2_VER="VERSION_LVM2"
113 LVM2_DIR="LVM2.${LVM2_VER}"
114 LVM2_SRCTAR="${GK_SHARE}/pkg/LVM2.${LVM2_VER}.tgz"
115 LVM2_BINCACHE="%%CACHE%%/LVM2.${LVM2_VER}-%%ARCH%%.tar.bz2"
117 DMRAID_VER="VERSION_DMRAID"
118 DMRAID_DIR="dmraid/${DMRAID_VER}"
119 DMRAID_SRCTAR="${GK_SHARE}/pkg/dmraid-${DMRAID_VER}.tar.bz2"
120 DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2"
122 # Kernel Version Compatibility
123 # (from http://www.am-utils.org/project-unionfs.html)
124 UNIONFS_VER="VERSION_UNIONFS"
125 UNIONFS_DIR="unionfs-${UNIONFS_VER}"
126 UNIONFS_SRCTAR="${GK_SHARE}/pkg/unionfs-${UNIONFS_VER}.tar.gz"
127 UNIONFS_BINCACHE="%%CACHE%%/unionfs-${UNIONFS_VER}-tools-%%ARCH%%.tar.bz2"
128 UNIONFS_MODULES_BINCACHE="%%CACHE%%/unionfs-${UNIONFS_VER}-modules-%%KV%%-%%ARCH%%.tar.bz2"
130 E2FSPROGS_VER="VERSION_E2FSPROGS"
131 E2FSPROGS_DIR="e2fsprogs-${E2FSPROGS_VER}"
132 E2FSPROGS_SRCTAR="${GK_SHARE}/pkg/e2fsprogs-${E2FSPROGS_VER}.tar.gz"
133 BLKID_BINCACHE="%%CACHE%%/blkid-${E2FSPROGS_VER}-%%ARCH%%.bz2"
135 #SUSPEND_VER="VERSION_SUSPEND"
136 #SUSPEND_DIR="suspend-${SUSPEND_VER}"
137 #SUSPEND_SRCTAR="${GK_SHARE}/pkg/suspend-${SUSPEND_VER}.tar.gz"
138 #SUSPEND_BINCACHE="%%CACHE%%/suspend-${SUSPEND_VER}-%%ARCH%%.tar.bz2"