32274295128fefc12f80b733496456483928a9da
[genkernel.git] / genkernel.conf
1 # Genkernel Configuration File
2
3 # ===========GENKERNEL BASIC CONFIGURATION=============
4
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.
8 # OLDCONFIG="no"
9
10 # Run 'make menuconfig' before compiling this kernel?
11 MENUCONFIG="no"
12
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.
17 CLEAN="yes"
18
19 # Run 'make mrproper' before configuration/compilation?
20 MRPROPER="yes"
21
22 # Override the arch detection?
23 # ARCH_OVERRIDE="x86"
24
25 # Mount BOOTDIR automatically if it isn't mounted?
26 MOUNTBOOT="yes"
27
28 # Make symlinks in BOOTDIR automatically?
29 # SYMLINK="no"
30
31 # Save the new configuration in /etc/kernels upon
32 # successfull compilation
33 SAVE_CONFIG="yes"
34
35 # Use Color output in Genkernel?
36 USECOLOR="yes"
37
38 # Add new kernel to grub?
39 # BOOTLOADER="grub"
40
41 # Clear build cache dir
42 # CLEAR_CACHE_DIR="yes"
43
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
49 # MAKEOPTS="-j2"
50
51 # =========GENKERNEL LOCATION CONFIGURATION============
52 # Variables:
53 #   %%ARCH%%  - Final determined architecture
54 #   %%CACHE%% - Final determined cache location
55
56 # Set genkernel's temporary work directory.  Default is /var/tmp/genkernel
57 # TMPDIR="/var/tmp/genkernel"
58
59 # Set the boot directory, default is /boot
60 #BOOTDIR="/boot"
61
62 # Default share directory location
63 GK_SHARE="/usr/share/genkernel"
64
65 # Location of helper-scripts
66 GK_BIN="${GK_SHARE}"
67 # Location of the default cache
68 CACHE_DIR="/var/cache/genkernel/%%ARCH%%"
69 # Log output file
70 DEBUGFILE="/var/log/genkernel.log"
71 # Debug Level
72 DEBUGLEVEL=1
73
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"
79
80 # Configuration file for busybox
81 BUSYBOX_CONFIG="${GK_SHARE}/%%ARCH%%/busy-config"
82 # BusyBox Version
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}"
91
92 DIETLIBC_VER="0.27"
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"
97
98 DEVFSD_VER="1.3.25-dietlibc-kernel25"
99 DEVFSD_SRCTAR="${GK_SHARE}/pkg/devfsd-${DEVFSD_VER}.tar.bz2"
100 DEVFSD_DIR="devfsd"
101 DEVFSD_BINCACHE="%%CACHE%%/devfsd-${DEVFSD_VER}-%%ARCH%%.bz2"
102 DEVFSD_CONF_BINCACHE="%%CACHE%%/devfsd-conf-${DIETLIBC_VER}-%%ARCH%%.bz2"
103
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"
108
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"
113
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"
118
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"
126
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"
131
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"
136