mirror of the now-defunct rocklinux.org
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.

280 lines
10 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/scripts/config.hlp
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. COMMENT_ARCHCPUOPT
  23. In this section you are able to select the architecture, the CPU and
  24. whether you are cross-building/porting to another architecture.
  25. COMMENT_TARGET
  26. In this section you can select which distribution target you would like
  27. to use.
  28. COMMENT_BUILD_SYS_CONF
  29. Here you can set some basic options for our beautifull distribution
  30. build system.
  31. ROCKCFG_ARCH
  32. This options controls the target architecture like alpha, ia64, mips,
  33. ppc, sparc or x86.
  34. ROCKCFG_CROSSBUILD
  35. This option needs to be selected to perform a cross-build to another
  36. architecture.
  37. ROCKCFG_DISABLE_BROKEN
  38. If you select this option packages that have not built in the last
  39. referency build will not be built.
  40. ROCKCFG_TARGET
  41. Please select the Target you want to build. Here's a short overview:
  42. - Boot-, Install- and Rescue-System:
  43. The boot-system. You need this if you want to install the system
  44. you built with CD or floppy-disk.
  45. - Desktop ROCK Linux:
  46. Intended for use on workstations / desktops.
  47. - Diet LibC based ROCK Linux:
  48. A distribution using Diet LibC instead of GLibC. DietLibC is
  49. a light-weight C-Library useful for embedded systems and other
  50. low-memory devices.
  51. - Generic ROCK Linux:
  52. A generic, all-purpose distribution that has simply everything.
  53. - Minimal ROCK Linux:
  54. A basic system that has only minimally more than a LFS.
  55. - Reference-Build for creating *.cache files:
  56. This target is for internal use only. It's purpose is to create
  57. package/*/*/*.cache files which are used to validate a package
  58. and consolidate its various information.
  59. - ROCK Router Linux:
  60. This is a _very_ minimal system with only routing-capabilities.
  61. ROCKCFG_PARALLEL
  62. Select this option if you want to perform a parallel build on several
  63. machines or if you build on a multiprocessor machine.
  64. See Documentation/BUILD-CLUSTER for more details.
  65. ROCKCFG_PARALLEL_MAX
  66. This options controls the maximum number of simultaneous build jobs.
  67. ROCKCFG_PARALLEL_ADDJOB
  68. If you're using an external command scheduler, enter it here.
  69. See Documentation/BUILD-CLUSTER for more details.
  70. ROCKCFG_ABORT_ON_ERROR
  71. If selected the build will stop on each package build error.
  72. ROCKCFG_RETRY_BROKEN
  73. This options controls whether the Build-System should try to build a
  74. package that has not built flawlessly during the last build.
  75. ROCKCFG_DISABLE_BROKEN
  76. Please check here if you want to skip building packages which are marked
  77. as broken. Note that this differs from ROCKCFG_RETRY_BROKEN. The reason
  78. a package is deemed 'broken' can also be missing *.cache file or others.
  79. ROCKCFG_ALWAYS_CLEAN
  80. When a package built flawlessly then the temporary directory which was
  81. used for building is deleted. Select this options if you also want this
  82. cleanup for packages with build error. (This safes disk-space but makes
  83. debugging hard ...)
  84. ROCKCFG_XTRACE
  85. Please check here if you want additional (debug)-output in the build
  86. log-files.
  87. ROCKCFG_SRC_TMPFS
  88. Check here if you want package buids to use tmpfs instead of the regular
  89. filesystem on which ROCK resides.
  90. ROCKCFG_SRC_TMPFS_OPT
  91. Please enter the tmpfs mount options here. For example:
  92. size=800M,nr_inodes=100k
  93. will mount an 800 Megabyte tmp-filesystem with 100,000 inodes.
  94. size=4G,nr_inodes=500k
  95. will mount a 4 Gigabyte tmp-filesystem with 500,000 inodes.
  96. Please make sure that the filesystem is big enough to hold
  97. - package-sources (unpacked)
  98. - compile-time binaries
  99. - and the binary package
  100. The filesystem size also must not be so big as to hog all your RAM or
  101. else your system might crash or start swapping.
  102. ROCKCFG_SRC_TMPFS_LOG
  103. Please enter the path to the tmpfs-logfile.
  104. ROCKCFG_EXPERT
  105. This button will enable a lot of additional configuration options.
  106. Some of these will make small changes to what the system will look
  107. like while others will have a huge impact on performance, stability
  108. and usability of the final system.
  109. Don't touch these if you don't know what you are doing.
  110. YOU HAVE BEEN WARNED!
  111. ROCKCFG_CREATE_TARBZ2
  112. If selected binary packages in .tar.bz2 format will be created.
  113. ROCKCFG_CREATE_GEM
  114. If selected binary packages in .gem format will be created.
  115. ROCKCFG_PKGFILE_VER
  116. If selected the package version number will be added to the binary
  117. package filenme.
  118. ROCKCFG_PKGSEL
  119. If selected you can modify the package list for the build.
  120. MENU_PKGSEL_RULES
  121. Here you can modify the package list for the build. You have the
  122. choice beween enable, disable or complete removal. A disabled
  123. package can still be reenabled by a target, while a removed one
  124. can not be selected by a target.
  125. Use "X <pattern>" to enable packages
  126. Use "O <pattern>" to disable packages
  127. Use "- <pattern>" to remove packages
  128. For example:
  129. "- gnome*"
  130. will not build Gnome at all.
  131. ROCKCFG_SHOW_PKGLIST
  132. This will display the complete, current package list.
  133. ROCKCFG_CONFOPT_FILE:0
  134. Here you can specify additional parameters passed to every ./configure
  135. script.
  136. Use "--with-option" to enable a feature
  137. Use "--without-option" to disable a feature
  138. Use "--option[=value]" to specify a custom option
  139. The Build-Syste will always check whether the configure script supports
  140. the options before the options is really passed as argument.
  141. COMMENT_FLIST
  142. Please see the help for the choice-menu.
  143. ROCKCFG_FLIST
  144. This help is taken from Rolling ROCK Issue #2 2003
  145. The ROCK Linux build scripts auto-detect which files are created
  146. by a package build and use this information to create the package
  147. file-list. There are three techniques which can be used to auto-detect
  148. this file list
  149. * flist-wrapper
  150. The flist-wrapper is the recommended way of doing it. It's an "elf
  151. preload library". This is a library which is loaded _before_ the
  152. c-library and so can overwrite functions of the c library. The
  153. flist-wrapper lib is overwriting all functions which can be used
  154. to create files and is writing the filenames to a log file before
  155. running the original c library function.
  156. This log file is used to create the package file list after the
  157. build has been completed. The problem with the flist-wrapper lib is
  158. that it doesn't work with statically built binaries or with non
  159. glibc c libraries. In such environments (e.g. when building a
  160. dietlibc based system), other techniques - such as those described
  161. below - must be used for creating the file list.
  162. * strace
  163. This one is rather easy: The whole build is running in a process-
  164. tree which is monitored by strace. The log file created by strace is
  165. later used to create the package file list. However: this does only
  166. work on architectures which do have an strace command - which is not
  167. the case for all architectures the Linux kernel and glibc have been
  168. ported to.
  169. * find
  170. This one is rather ugly (but sometimes the only alternative): When
  171. the build is started, a 'timestamp-file' is created. After the build
  172. has been completed, the find program is used to find all files which
  173. are newer than the 'timestamp-file'. This is really slow now and has
  174. the disadvantage that nothing else than the build process may create
  175. or modify files while the build is running. This should only be used
  176. if no other system for creating the file list can be used.
  177. ROCKCFG_USE_CROSSCC
  178. This option controls whether to use a pseudo-cross-compiler even
  179. for native (non cross) builds. This is needed when the host and
  180. target gcc or glibc differ in the ABI.
  181. THIS IS STRONGLY RECOMMENDED!
  182. ROCKCFG_DO_REBUILD_STAGE
  183. This options controls whether to rebuild all packages in the final
  184. rebuild-stage.
  185. Each and every package is rebuilt in Stage 9 once more and only then
  186. are the binary-packages created. This has the advantage that
  187. circular dependencies are resolved, but it also almost doubles the
  188. build time.
  189. In former times this was recommended - but nowadays this is only a
  190. paranoia thing.
  191. ROCKCFG_DO_CHECK
  192. This options enables to run a make check / test target for packages
  193. with support for this. This can be used as extended quality assurance
  194. to make sure the resulting binaries work correct.
  195. ROCKCFG_OPT
  196. If this option is enabled binaries and libraries are optimised and
  197. debugging information are not build into those binaries and
  198. additionally stripped. That is non-vital information are removed from
  199. binaries. See `man strip` for details. If disabled debugging
  200. informations are included into the binaries.
  201. ROCKCFG_OPTSIZE
  202. Enable this option if you want to optimise binaries for file-size
  203. instead of performance. This is useful for embedded devices and
  204. other low-memory systems. (But on the other hand is also the
  205. best performance setting, too).
  206. ROCKCFG_LIMITCXX
  207. Check here if you want to disable the C++ exceptions run-time type
  208. identification. This can make the C++ binaries about 25% smaller,
  209. but any C++ sources using exceptions or rtti, for example QT/KDE,
  210. will fail to compile. If you don't know, don't touch.
  211. ROCKCFG_MULTILIB
  212. Enable installing several versions of the same library.
  213. ROCKCFG_DISABLE_NLS
  214. Please check here if you do not want to use Native Language Support.
  215. ROCKCFG_CREATE_CACHE
  216. Please check here if you want to create *.cache files after a build
  217. has completed. This is the same as a reference build.
  218. ROCKCFG_PARANOIA_CHECK
  219. Please check here if you want to run sanity checks before building.
  220. THIS IS STRONGLY RECOMMENDED!
  221. ROCKCFG_IDCKSUM
  222. Please check here if you want to use a checksum instead of the long
  223. explanatory ROCKCFG-ID.