You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
125 lines
4.1 KiB
125 lines
4.1 KiB
# Configuration file for genkernel
|
|
|
|
# This file is sourced by genkernel at startup and determines which options
|
|
# we will be using to compile our kernel. The order of precidence is simple,
|
|
# with the internal settings being least important, configuration file
|
|
# settings next, and command line options being most important.
|
|
|
|
# ===========GENKERNEL BASIC CONFIGURATION=============
|
|
|
|
# Run 'make oldconfig' before compiling this kernel?
|
|
# If set to "yes", also suppresses the fetch of the kernel .config file from
|
|
# /etc/kernels, thus preserving the .config file in /usr/src/linux.
|
|
# OLDCONFIG="no"
|
|
|
|
# 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"
|
|
|
|
# Override the arch detection?
|
|
# ARCH_OVERRIDE="x86"
|
|
|
|
# Mount BOOTDIR automatically if it isn't mounted?
|
|
MOUNTBOOT="yes"
|
|
|
|
# Make symlinks in BOOTDIR automatically?
|
|
# SYMLINK="no"
|
|
|
|
# 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 genkernel's temporary work directory. Default is /var/tmp/genkernel
|
|
# TMPDIR="/var/tmp/genkernel"
|
|
|
|
# Set the boot directory, default is /boot
|
|
#BOOTDIR="/boot"
|
|
|
|
# Default share directory location
|
|
GK_SHARE="/usr/share/genkernel"
|
|
|
|
# Location of the default cache
|
|
CACHE_DIR="/var/cache/genkernel/%%ARCH%%"
|
|
# Log output file
|
|
LOGFILE="/var/log/genkernel.log"
|
|
# Debug Level
|
|
LOGLEVEL=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_VER="1.1.3+gentoo"
|
|
BUSYBOX_SRCTAR="${GK_SHARE}/pkg/busybox-${BUSYBOX_VER}.tar.bz2"
|
|
BUSYBOX_DIR="busybox-${BUSYBOX_VER}"
|
|
BUSYBOX_BINCACHE="%%CACHE%%/busybox-${BUSYBOX_VER}-%%ARCH%%.tar.bz2"
|
|
|
|
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"
|
|
|
|
LVM_VER="VERSION_LVM"
|
|
LVM_DIR="LVM.${LVM_VER}"
|
|
LVM_SRCTAR="${GK_SHARE}/pkg/LVM.${LVM_VER}.tgz"
|
|
LVM_BINCACHE="%%CACHE%%/LVM.${LVM_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"
|
|
|