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.
 
 
 
 
 
 

301 lines
7.9 KiB

  1. # Configuration file for genkernel
  2. # This file is sourced by genkernel at startup and determines which options
  3. # we will be using to compile our kernel. The order of precidence is simple,
  4. # with the internal settings being least important, configuration file
  5. # settings next, and command line options being most important.
  6. # =========Common Command Line Option Defaults=========
  7. # Should we install to $BOOTDIR? Default is "no" because genkernel is used in
  8. # catalyst and stage building.
  9. #INSTALL="yes"
  10. # Run 'make oldconfig' before compiling this kernel?
  11. OLDCONFIG="yes"
  12. # Run 'make menuconfig' before compiling this kernel?
  13. MENUCONFIG="no"
  14. # Run 'make clean' before compilation?
  15. # If set to NO, implies MRPROPER WILL NOT be run
  16. # Also, if clean is NO, it won't copy over any configuration
  17. # file, it will use what's there.
  18. CLEAN="yes"
  19. # Run 'make mrproper' before configuration/compilation?
  20. MRPROPER="yes"
  21. # Override the arch detection?
  22. #ARCH_OVERRIDE="x86"
  23. # Mount BOOTDIR automatically if it isn't mounted?
  24. MOUNTBOOT="yes"
  25. # Make symlinks in BOOTDIR automatically?
  26. #SYMLINK="no"
  27. # Save the new configuration in /etc/kernels upon
  28. # successfull compilation
  29. SAVE_CONFIG="yes"
  30. # Use Color output in Genkernel?
  31. USECOLOR="yes"
  32. # Clear build cache dir
  33. #CLEAR_CACHE_DIR="yes"
  34. # Clear all tmp files and caches after genkernel has run
  35. #POSTCLEAR="1"
  36. # Genkernel uses an independent configuration for MAKEOPTS, and does not source
  37. # /etc/make.conf . You can override the default setting by uncommenting and
  38. # tweaking the following line. Default setting is set up by
  39. # ${GK_SHARE}/${ARCH_OVERRIDE}/config.sh . The recommended value for -j
  40. # argument is: <number of processors>*<number of cores per processor>+1
  41. #MAKEOPTS="-j2"
  42. # Add in LVM support from static binaries if they exist on the system, or
  43. # compile static LVM binaries if static ones do not exist.
  44. #LVM="no"
  45. # Add in Luks support. Needs sys-fs/cryptsetup with -dynamic installed.
  46. #LUKS="no"
  47. # Add in GnuPG support
  48. #GPG="no"
  49. # Add DMRAID support.
  50. #DMRAID="no"
  51. # Include (or suppresses the inclusion of) busybox in the initrd or initramfs.
  52. # If included, busybox is rebuilt if the cached copy is out of date.
  53. #BUSYBOX="yes"
  54. # Includes mdadm/mdmon binaries in initramfs.
  55. # Without sys-fs/mdadm[static] installed, this will build a static mdadm.
  56. #MDADM="no"
  57. # Specify a custom mdadm.conf.
  58. # By default the ramdisk will be built *without* an mdadm.conf and will auto-detect
  59. # arrays during bootup. Usually, this should not be needed.
  60. #MDADM_CONFIG="/etc/mdadm.conf"
  61. # Add Multipath support.
  62. #MULTIPATH="no"
  63. # Add iSCSI support.
  64. #ISCSI="no"
  65. # Add e2fsprogs support.
  66. #E2FSPROGS="no"
  67. # Include support for unionfs
  68. #UNIONFS="1"
  69. # Include support for zfs volume management.
  70. #ZFS="no"
  71. # Enable copying of firmware into initramfs
  72. #FIRMWARE="no"
  73. # Specify directory to pull from
  74. #FIRMWARE_DIR="/lib/firmware"
  75. # Specify specific firmware files to include. This overrides FIRMWARE_DIR
  76. #FIRMWARE_FILES=""
  77. # Enable disklabel support (copies blkid to initrd)
  78. DISKLABEL="yes"
  79. # Add new kernel to grub?
  80. #BOOTLOADER="grub"
  81. # Enable splashutils in early space (initrd). Default is "no".
  82. #SPLASH="yes"
  83. # Use this splash theme. If commented out - the "default" name theme is used.
  84. # Also, SPLASH="yes" needs to be enabled for this one to one work.
  85. # This supersedes the "SPLASH_THEME" option of /etc/conf.d/splash (in early space).
  86. #SPLASH_THEME="gentoo"
  87. # Run the specified command in the current environment after the kernel and
  88. # modules have been compiled, useful to rebuild external kernel module.
  89. # use "emerge --quiet @module-rebuild" for >=portage-2.2
  90. #CMD_CALLBACK=""
  91. # =========Keymap Settings=========
  92. #
  93. # Force keymap selection at boot
  94. #DOKEYMAPAUTO="yes"
  95. # Disables keymap selection support
  96. #KEYMAP="0"
  97. # =========Low Level Compile Settings=========
  98. #
  99. # GNU Make to use for kernel. See also the --kernel-make command line option.
  100. #KERNEL_MAKE="make"
  101. # Compiler to use for the kernel (e.g. distcc). See also the --kernel-cc
  102. # command line option.
  103. #KERNEL_CC="gcc"
  104. # Assembler to use for the kernel. See also the --kernel-as command line
  105. # option.
  106. #KERNEL_AS="as"
  107. # Linker to use for the kernel. See also the --kernel-ld command line option.
  108. #KERNEL_LD="ld"
  109. # GNU Make to use for the utilities. See also the --utils-make command line
  110. # option.
  111. #UTILS_MAKE="make"
  112. # Compiler to use for the utilities (e.g. distcc). See also the --utils-cc
  113. # command line option.
  114. #UTILS_CC="gcc"
  115. # Assembler to use for the utilities. See also the --utils-as command line
  116. # option.
  117. #UTILS_AS="as"
  118. # Linker to use for the utilities. See also the --utils-ld command line
  119. # option.
  120. #UTILS_LD="ld"
  121. # Common prefix of cros compile commands
  122. #UTILS_CROSS_COMPILE="x86_64-pc-linux-gnu"
  123. # Value of CROSS_COMPILE utils variable
  124. # during kernel compilation
  125. #KERNEL_CROSS_COMPILE="x86_64-pc-linux-gnu"
  126. # =========GENKERNEL LOCATION CONFIGURATION============
  127. # Variables:
  128. # %%ARCH%% - Final determined architecture
  129. # %%CACHE%% - Final determined cache location
  130. # Set genkernel's temporary work directory. Default is /var/tmp/genkernel
  131. #TMPDIR="/var/tmp/genkernel"
  132. # Set the boot directory, default is /boot
  133. #BOOTDIR="/boot"
  134. # Default share directory location
  135. GK_SHARE="${GK_SHARE:-/usr/share/genkernel}"
  136. # Location of the default cache
  137. CACHE_DIR="/var/cache/genkernel"
  138. # Location of DISTDIR, where our source tarballs are stored
  139. DISTDIR="${GK_SHARE}/distfiles"
  140. # Log output file
  141. LOGFILE="/var/log/genkernel.log"
  142. # Debug Level
  143. LOGLEVEL=1
  144. # =========COMPILED UTILS CONFIGURATION============
  145. #
  146. # Default location of kernel source
  147. DEFAULT_KERNEL_SOURCE="/usr/src/linux"
  148. # Default kernel config (only use to override using
  149. # arch/%%ARCH%%/kernel-config-${VER}.${PAT} !)
  150. #DEFAULT_KERNEL_CONFIG="${GK_SHARE}/arch/%%ARCH%%/kernel-config"
  151. # Specifies a user created busybox config
  152. #BUSYBOX_CONFIG="/path/to/file"
  153. #BUSYBOX_APPLETS="[ ash sh mount uname echo cut cat"
  154. # NOTE: Since genkernel 3.4.41 the version of
  155. # busybox, lvm, mdadm, .. have been moved to
  156. # /usr/share/genkernel/defaults/software.sh in order to
  157. # reduce the merging you have to do during etc-update.
  158. # You can still override these settings in here.
  159. # =========MISC KERNEL CONFIGURATION============
  160. #
  161. # Tag the kernel and ramdisk with a name:
  162. # If not defined the option defaults to
  163. # 'genkernel'
  164. #KNAME="genkernel"
  165. # This option is only valid if kerncache is
  166. # defined. If there is a valid kerncache no checks
  167. # will be made against a kernel source tree
  168. #KERNEL_SOURCES="0"
  169. # Build a static (monolithic kernel)
  170. #BUILD_STATIC="1"
  171. # Make and install kernelz image (PowerPC)
  172. #GENZIMAGE="1"
  173. # File to output a .tar.bz2'd kernel contents
  174. # of /lib/modules/ and the kernel config
  175. # NOTE: This is created before the callbacks
  176. # are run!
  177. #KERNCACHE="/path/to/file"
  178. # Prefix to kernel module destination, modules
  179. # will be installed in <prefix>/lib/modules
  180. # (.conf equivalent of --module-prefix=<dir>)
  181. #INSTALL_MOD_PATH=""
  182. # =========MISC INITRD CONFIGURATION============
  183. #
  184. # Copy all kernel modules to the ramdisk
  185. #ALLRAMDISKMODULES="1"
  186. # Don't copy any modules to the ramdisk
  187. #RAMDISKMODULES="0"
  188. # File to output a .tar.bz2'd kernel and ramdisk:
  189. # No modules outside of the ramdisk will be
  190. # included...
  191. #MINKERNPACKAGE="/path/to/file.bz2"
  192. # File to output a .tar.bz2'd modules after the
  193. # callbacks have run
  194. #MODULESPACKAGE="/path/to/file.bz2"
  195. # Directory structure to include in the initramfs,
  196. # only available on >=2.6 kernels
  197. #INITRAMFS_OVERLAY=""
  198. # Build the generated initramfs into the kernel instead of
  199. # keeping it as a separate file
  200. #INTEGRATED_INITRAMFS="1"
  201. # Compress generated initramfs
  202. #COMPRESS_INITRD="yes"
  203. # Types of compression: best, xz, lzma, bzip2, gzip, lzop, fastest
  204. # "best" selects the best available compression method
  205. # "fastest" selects the fastest available compression method
  206. #COMPRESS_INITRD_TYPE="best"
  207. # Create a self-contained env in the initramfs
  208. #NETBOOT="1"
  209. # =========MISC BOOT CONFIGURATION============
  210. #
  211. # Specify a default for real_root=
  212. #REAL_ROOT="/dev/one/two/gentoo"