spacepaste

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