OpenSDE Framework (without history before r20070)
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.

140 lines
7.5 KiB

  1. Variables used in the package build scripts
  2. ===========================================
  3. config ........ Name of the active configuration ($base/config/$config/..)
  4. extraver ...... version text after the fist whitespace, or $sdever
  5. sdever ........ T2 SDE Version (including rel. date for snapshots)
  6. pkg ........... base name part of the package we are building
  7. xpkg .......... derived name part of the package we are building
  8. if a package is not pkgfork'd, pkg == xpkg
  9. ver ........... package Version (from *.desc - until first whitespace)
  10. desc_[A-Z] .... Data from the *.desc file
  11. id ............ unique ID for this Build-Pkg invocation
  12. arch .......... architecture (subdir name in architecture)
  13. target ........ target distribution (subdir name in targets)
  14. stagelevel .... stagelevel (0-1 = crossbuild, 2-8 = native, 9 = rebuild)
  15. arch_sizeof_long_long .... arch setting from architecture/*/archtest.out
  16. arch_sizeof_int .......... arch setting from architecture/*/archtest.out
  17. arch_machine ............. arch setting from architecture/*/archtest.out
  18. arch_sizeof_char_p ....... arch setting from architecture/*/archtest.out
  19. arch_sizeof_long ......... arch setting from architecture/*/archtest.out
  20. arch_bigendian ........... arch setting from architecture/*/archtest.out
  21. arch_sizeof_short ........ arch setting from architecture/*/archtest.out
  22. arch_target .............. arch setting from architecture/*/archtest.out
  23. arch_build ............... like 'arch_target' - but for the build host
  24. archdir ....... directory containing the package tar files (download/..)
  25. confdir ....... directory containing the package build config (package/..)
  26. targetdir ..... directory containing the target config (target/...)
  27. builddir ...... directory in which the package is build (src.$id)
  28. base .......... ROCK Linux sources base directory
  29. root .......... root directory (usually '/')
  30. xroot ......... real root (/R.work/build/... when in chroot mode)
  31. prefix ........ install prefix (usually '/usr' or '/opt/...')
  32. prefix_auto ... '1' = you may auto-detect a better value for $prefix in *.conf
  33. build_logs .... Big build log file ...... (Build-Target only)
  34. build_pkgs .... Packagfiles go here ..... (Build-Target only)
  35. build_root .... Chroot dir name ......... (Build-Target only)
  36. build_toolchain T2 build system data .... (Build-Target only)
  37. bindir ........ where the binaries (programs) should be installed
  38. sbindir ....... where the system binaries should be installed
  39. libdir ........ where the library files should be installed
  40. sysconfdir .... where the configuration should be installed (i.e. etc)
  41. localstatedir . where the variable data should be installed (i.e. var)
  42. datadir ....... where the arch-indep. data should be installed (i.e. share)
  43. docdir ........ where the documentation should be installed
  44. mandir ........ where the info man pages should be installed
  45. infodir ....... where the info files should be installed
  46. includedir .... where the header files should be installed
  47. autoextract ... '0' = skip automatic untar
  48. autopatch ..... '0' = skip automatic patching
  49. chownsrcdir ... '0' = don't make a chown to root after extracting the $srctar
  50. nocvsinsrcdir . '0' = don't remove CVS and .svn directories in $srcdir
  51. srctar ........ filename of source tar file ('auto' = autodetect)
  52. srcdir ........ directory in source tar file ('auto' = autodetect)
  53. xsrctar ....... filename of source tar file after 'auto' has been processed
  54. xsrcdir ....... directory in source tar file after 'auto' has been processed
  55. taropt ........ tar options for extracting
  56. createprefix .. '0' = skip creation for directory skeleton for $prefix
  57. createdocs .... '0' = skip automatic copying of documentation files
  58. custmain ...... command to execute instead of 'configure, make, make install'
  59. mainfunction .. alternate main function instead of build_this_package()
  60. buildloops .... number of build loops do we want to make for each srctar.
  61. patchfiles .... list of patchfiles found in $confdir
  62. patchopt ...... options passed to the patch program
  63. runconf ....... set to '0' if you want to skip running configure
  64. autogen ....... set to '1' if you want to run the autogen script
  65. confopt ....... options for GNU autoconf './configure'
  66. extraconfopt .. options which should be appended to $confopt by set_confopt()
  67. configcache ... an space delimited list of declarations for config.cache
  68. configcachefile an space delimited list of config.cache files
  69. configprefix .. variable declarations only for GNU autoconf './configure'
  70. configscript .. script file name of the GNU autoconf configure script
  71. cleanconfopt .. set to '0' if you don't want to remove unsupported options
  72. pyscript ...... script to run 'setup.py', python by default.
  73. pyconfopt ..... options for 'setup.py' - Python setup scripts
  74. pybuildopt .... options for 'python setup.py build'
  75. pyinstopt ..... options for 'python setup.py install' (default = '--prefix=/$prefix')
  76. plconfopt ..... options for 'Makefile.pl' - Perl setup scripts
  77. wafscript ..... script to run for waf based builds (default = './waf')
  78. wafconfopt .... options for 'waf configure' (default = 'configure --prefix=/$prefix')
  79. runcmake ...... set to '0' if you want to skip running 'cmake' (default 1)
  80. runxmkmf ...... set to '0' if you want to skip running 'xmkmf'
  81. runmkpl ....... set to '0' if you want to skip running 'perl Makefile.PL'
  82. runpysetup .... set to '0' if you want to skip running 'python setup.py'
  83. runwaf ........ set to '0' if you want to skip running 'waf' build system.
  84. cmakeopt ...... options for 'cmake'
  85. makeopt ....... options for 'make' (default = ' ')
  86. makeinstopt ... options for 'make install' (default = 'install')
  87. wafbuildopt ... options for 'waf build' (default = 'build')
  88. wafinstopt .... options for 'waf install' (default = 'install --destdir=$root --force')
  89. crossnative ... has the value 'cross' or 'native'
  90. archprefix .... prefix for binutils and compiler binaries (for cross-building)
  91. flistdel ...... regex describing files which shouldn't go to package db
  92. flistrfilter .. regex describing which lines to ignore in flist rlog
  93. flistroot ..... list of top-level directories which should be used for flist
  94. flistvalid .... list of directories where the build is allowed to write
  95. check_shared ...... Check for files which are shared with other packages
  96. check_usrlocal .... Check for files which are installed in usr/local
  97. check_badfiles .... Check for files which are registered 'bad files'
  98. BUILDCC ....... C compiler for helper apps (usually that's just 'cc')
  99. BUILD_CC ...... C compiler for helper apps (must be the same as $BUILDCC)
  100. HOSTCC ........ C compiler for helper apps (must be the same as $BUILDCC)
  101. HOST_CC ....... C compiler for helper apps (must be the same as $BUILDCC)
  102. MAKE .......... make executable name (including -j option according to Config)
  103. CC ............ C compiler executable name for target architecture
  104. CXX ........... C++ compiler executable name for target architecture
  105. STRIP ......... strip executable name for target architecture
  106. LD ............ ld executable name for target architecture
  107. AR ............ ar executable name for target architecture
  108. RANLIB ........ ranlib executable name for target architecture
  109. AS ............ as executable name for target architecture
  110. GASP .......... gasp executable name for target architecture
  111. NM ............ nm executable name for target architecture
  112. CC_WRAPPER_* ...... configuration for C compiler wrapper
  113. CXX_WRAPPER_* ..... configuration for C++ compiler wrapper
  114. KCC_WRAPPER_* ..... configuration for Kernel C compiler wrapper
  115. F77_WRAPPER_* ..... configuration for Fortran 77 compiler wrapper
  116. STRIP_WRAPPER_* ... configuration for strip wrapper
  117. SDECFG_* ...... configuration from 'Config' file