|
|
|
# Genkernel Configuration File
|
|
|
|
|
|
|
|
# ===========GENKERNEL BASIC CONFIGURATION=============
|
|
|
|
|
|
|
|
# Run 'make menuconfig' before compiling this kernel?
|
|
|
|
MENUCONFIG="no"
|
|
|
|
|
|
|
|
# Run 'make clean' before compilation?
|
|
|
|
# If set to NO, implies MRPROPER WILL NOT be run
|
|
|
|
# Also, if clean is NO, it won't copy over any configuration
|
|
|
|
# file, it will use what's there.
|
|
|
|
CLEAN="yes"
|
|
|
|
|
|
|
|
# Run 'make mrproper' before configuration/compilation?
|
|
|
|
MRPROPER="yes"
|
|
|
|
|
|
|
|
# Copy bootsplash into the initrd image?
|
|
|
|
BOOTSPLASH="yes"
|
|
|
|
|
|
|
|
# Override the arch detection?
|
|
|
|
# ARCH_OVERRIDE="x86"
|
|
|
|
|
|
|
|
# Mount BOOTDIR automatically if it isn't mounted?
|
|
|
|
MOUNTBOOT="yes"
|
|
|
|
|
|
|
|
# Save the new configuration in /etc/kernels upon
|
|
|
|
# successfull compilation
|
|
|
|
SAVE_CONFIG="yes"
|
|
|
|
|
|
|
|
# Use Color output in Genkernel?
|
|
|
|
USECOLOR="yes"
|
|
|
|
|
|
|
|
# Add new kernel to grub?
|
|
|
|
# BOOTLOADER="grub"
|
|
|
|
|
|
|
|
# Clear build cache dir
|
|
|
|
# CLEAR_CACHE_DIR="yes"
|
|
|
|
|
|
|
|
# Genkernel uses an independent configuration for MAKEOPTS, and does not source
|
|
|
|
# /etc/make.conf . You can override the default setting by uncommenting and
|
|
|
|
# tweaking the following line. Default setting is set up by
|
|
|
|
# ${GK_SHARE}/${ARCH_OVERRIDE}/config.sh . The recommended value for -j
|
|
|
|
# argument is: <number of processors>*<number of cores per processor>+1
|
|
|
|
# MAKEOPTS="-j2"
|
|
|
|
|
|
|
|
# =========GENKERNEL LOCATION CONFIGURATION============
|
|
|
|
# Variables:
|
|
|
|
# %%ARCH%% - Final determined architecture
|
|
|
|
# %%CACHE%% - Final determined cache location
|
|
|
|
|
|
|
|
# Set the boot directory, default is /boot
|
|
|
|
#BOOTDIR="/boot"
|
|
|
|
|
|
|
|
# Default share directory location
|
|
|
|
GK_SHARE="/usr/share/genkernel"
|
|
|
|
|
|
|
|
# Location of helper-scripts
|
|
|
|
GK_BIN="${GK_SHARE}"
|
|
|
|
# Location of the default cache
|
|
|
|
CACHE_DIR="/var/cache/genkernel/%%ARCH%%"
|
|
|
|
# Log output file
|
|
|
|
DEBUGFILE="/var/log/genkernel.log"
|
|
|
|
# Debug Level
|
|
|
|
DEBUGLEVEL=1
|
|
|
|
|
|
|
|
# Default location of kernel source
|
|
|
|
DEFAULT_KERNEL_SOURCE="/usr/src/linux"
|
|
|
|
# Default kernel config (only use to override using
|
|
|
|
# %%ARCH%%/kernel-config-${VER}.${PAT} !)
|
|
|
|
# DEFAULT_KERNEL_CONFIG="${GK_SHARE}/%%ARCH%%/kernel-config"
|
|
|
|
|
|
|
|
# Configuration file for busybox
|
|
|
|
BUSYBOX_CONFIG="${GK_SHARE}/%%ARCH%%/busy-config"
|
|
|
|
# BusyBox Version
|
|
|
|
BUSYBOX_VER="1.1.3+gentoo"
|
|
|
|
# Busybox bin-cache location, to store pre-compiled busybox
|
|
|
|
# binary is just a bzip2 busybox executable
|
|
|
|
BUSYBOX_BINCACHE="%%CACHE%%/busybox-${BUSYBOX_VER}-%%ARCH%%.bz2"
|
|
|
|
# Location of BusyBox source tarball
|
|
|
|
BUSYBOX_SRCTAR="${GK_SHARE}/pkg/busybox-${BUSYBOX_VER}.tar.bz2"
|
|
|
|
# Directory created after busybox tarball is extracted
|
|
|
|
BUSYBOX_DIR="busybox-${BUSYBOX_VER}"
|
|
|
|
|
|
|
|
MODULE_INIT_TOOLS_VER="0.9.15-pre4"
|
|
|
|
MODULE_INIT_TOOLS_SRCTAR="${GK_SHARE}/pkg/module-init-tools-${MODULE_INIT_TOOLS_VER}.tar.bz2"
|
|
|
|
MODULE_INIT_TOOLS_DIR="module-init-tools-${MODULE_INIT_TOOLS_VER}"
|
|
|
|
MODULE_INIT_TOOLS_BINCACHE="%%CACHE%%/insmod-%%ARCH%%-static-2.6.bz2"
|
|
|
|
|
|
|
|
MODUTILS_VER="2.4.26"
|
|
|
|
MODUTILS_SRCTAR="${GK_SHARE}/pkg/modutils-${MODUTILS_VER}.tar.bz2"
|
|
|
|
MODUTILS_DIR="modutils-${MODUTILS_VER}"
|
|
|
|
MODUTILS_BINCACHE="%%CACHE%%/insmod-%%ARCH%%-static-2.4.bz2"
|
|
|
|
|
|
|
|
DIETLIBC_VER="0.27"
|
|
|
|
DIETLIBC_SRCTAR="${GK_SHARE}/pkg/dietlibc-${DIETLIBC_VER}.tar.bz2"
|
|
|
|
DIETLIBC_DIR="dietlibc-${DIETLIBC_VER}"
|
|
|
|
DIETLIBC_BINCACHE="%%CACHE%%/dietlibc-${DIETLIBC_VER}-%%ARCH%%.tar.bz2"
|
|
|
|
DIETLIBC_BINCACHE_TEMP="%%CACHE%%/dietlibc-${DIETLIBC_VER}-%%ARCH%%-tempdir"
|
|
|
|
|
|
|
|
DEVFSD_VER="1.3.25-dietlibc-kernel25"
|
|
|
|
DEVFSD_SRCTAR="${GK_SHARE}/pkg/devfsd-${DEVFSD_VER}.tar.bz2"
|
|
|
|
DEVFSD_DIR="devfsd"
|
|
|
|
DEVFSD_BINCACHE="%%CACHE%%/devfsd-${DEVFSD_VER}-%%ARCH%%.bz2"
|
|
|
|
DEVFSD_CONF_BINCACHE="%%CACHE%%/devfsd-conf-${DIETLIBC_VER}-%%ARCH%%.bz2"
|
|
|
|
|
|
|
|
DEVICE_MAPPER_VER="VERSION_DMAP"
|
|
|
|
DEVICE_MAPPER_DIR="device-mapper.${DEVICE_MAPPER_VER}"
|
|
|
|
DEVICE_MAPPER_SRCTAR="${GK_SHARE}/pkg/device-mapper.${DEVICE_MAPPER_VER}.tgz"
|
|
|
|
DEVICE_MAPPER_BINCACHE="%%CACHE%%/device-mapper-${DEVICE_MAPPER_VER}-%%ARCH%%.tar.bz2"
|
|
|
|
|
|
|
|
LVM2_VER="VERSION_LVM2"
|
|
|
|
LVM2_DIR="LVM2.${LVM2_VER}"
|
|
|
|
LVM2_SRCTAR="${GK_SHARE}/pkg/LVM2.${LVM2_VER}.tgz"
|
|
|
|
LVM2_BINCACHE="%%CACHE%%/LVM2.${LVM2_VER}-%%ARCH%%.tar.bz2"
|
|
|
|
|
|
|
|
DMRAID_VER="VERSION_DMRAID"
|
|
|
|
DMRAID_DIR="dmraid/${DMRAID_VER}"
|
|
|
|
DMRAID_SRCTAR="${GK_SHARE}/pkg/dmraid-${DMRAID_VER}.tar.bz2"
|
|
|
|
DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2"
|
|
|
|
|
|
|
|
# Kernel Version Compatibility
|
|
|
|
# (from http://www.am-utils.org/project-unionfs.html)
|
|
|
|
UNIONFS_VER="VERSION_UNIONFS"
|
|
|
|
UNIONFS_DIR="unionfs-${UNIONFS_VER}"
|
|
|
|
UNIONFS_SRCTAR="${GK_SHARE}/pkg/unionfs-${UNIONFS_VER}.tar.gz"
|
|
|
|
UNIONFS_BINCACHE="%%CACHE%%/unionfs-${UNIONFS_VER}-tools-%%ARCH%%.tar.bz2"
|
|
|
|
UNIONFS_MODULES_BINCACHE="%%CACHE%%/unionfs-${UNIONFS_VER}-modules-%%KV%%-%%ARCH%%.tar.bz2"
|
|
|
|
|
|
|
|
E2FSPROGS_VER="VERSION_E2FSPROGS"
|
|
|
|
E2FSPROGS_DIR="e2fsprogs-${E2FSPROGS_VER}"
|
|
|
|
E2FSPROGS_SRCTAR="${GK_SHARE}/pkg/e2fsprogs-${E2FSPROGS_VER}.tar.gz"
|
|
|
|
BLKID_BINCACHE="%%CACHE%%/blkid-${E2FSPROGS_VER}-%%ARCH%%.bz2"
|
|
|
|
|
|
|
|
SUSPEND_VER="VERSION_SUSPEND"
|
|
|
|
SUSPEND_DIR="suspend-${SUSPEND_VER}"
|
|
|
|
SUSPEND_SRCTAR="${GK_SHARE}/pkg/suspend-${SUSPEND_VER}.tar.gz"
|
|
|
|
SUSPEND_BINCACHE="%%CACHE%%/suspend-${SUSPEND_VER}-%%ARCH%%.tar.bz2"
|
|
|
|
|