ref-variables.xml 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870
  1. <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
  2. "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
  3. <!-- Dummy chapter -->
  4. <appendix id='ref-variables-glos'>
  5. <title>Reference: Variables Glossary</title>
  6. <para>
  7. This section lists common variables used in Poky and gives an overview
  8. of their function and contents.
  9. </para>
  10. <glossary id='ref-variables-glossary'>
  11. <para>
  12. <link linkend='var-glossary-a'>A</link>
  13. <link linkend='var-glossary-b'>B</link>
  14. <link linkend='var-glossary-c'>C</link>
  15. <link linkend='var-glossary-d'>D</link>
  16. <link linkend='var-glossary-e'>E</link>
  17. <link linkend='var-glossary-f'>F</link>
  18. <!-- <link linkend='var-glossary-g'>G</link> -->
  19. <link linkend='var-glossary-h'>H</link>
  20. <link linkend='var-glossary-i'>I</link>
  21. <!-- <link linkend='var-glossary-j'>J</link> -->
  22. <link linkend='var-glossary-k'>K</link>
  23. <link linkend='var-glossary-l'>L</link>
  24. <link linkend='var-glossary-m'>M</link>
  25. <!-- <link linkend='var-glossary-n'>N</link> -->
  26. <!-- <link linkend='var-glossary-o'>O</link> -->
  27. <link linkend='var-glossary-p'>P</link>
  28. <!-- <link linkend='var-glossary-q'>Q</link> -->
  29. <link linkend='var-glossary-r'>R</link>
  30. <link linkend='var-glossary-s'>S</link>
  31. <link linkend='var-glossary-t'>T</link>
  32. <!-- <link linkend='var-glossary-u'>U</link> -->
  33. <!-- <link linkend='var-glossary-v'>V</link> -->
  34. <link linkend='var-glossary-w'>W</link>
  35. <!-- <link linkend='var-glossary-x'>X</link> -->
  36. <!-- <link linkend='var-glossary-y'>Y</link> -->
  37. <!-- <link linkend='var-glossary-z'>Z</link>-->
  38. </para>
  39. <glossdiv id='var-glossary-a'><title>A</title>
  40. <glossentry id='var-AUTHOR'><glossterm>AUTHOR</glossterm>
  41. <glossdef>
  42. <para>E-mail address to contact original author(s) - to
  43. send patches, forward bugs...</para>
  44. </glossdef>
  45. </glossentry>
  46. <glossentry id='var-AUTOREV'><glossterm>AUTOREV</glossterm>
  47. <glossdef>
  48. <para>Use current (newest) source revision - used with
  49. <glossterm><link linkend='var-SRCREV'>SRCREV</link></glossterm>
  50. variable.</para>
  51. </glossdef>
  52. </glossentry>
  53. </glossdiv>
  54. <glossdiv id='var-glossary-b'><title>B</title>
  55. <glossentry id='var-BB_NUMBER_THREADS'><glossterm>BB_NUMBER_THREADS</glossterm>
  56. <glossdef>
  57. <para>The maximum number of tasks BitBake should run in parallel at any one time</para>
  58. </glossdef>
  59. </glossentry>
  60. <glossentry id='var-BBFILES'><glossterm>BBFILES</glossterm>
  61. <glossdef>
  62. <para>List of recipes used by BitBake to build software</para>
  63. </glossdef>
  64. </glossentry>
  65. <!-- BBPATH is not a usable variable in .bb files and should not be listed here -->
  66. <glossentry id='var-BBINCLUDELOGS'><glossterm>BBINCLUDELOGS</glossterm>
  67. <glossdef>
  68. <para>Variable which controls how BitBake displays logs on build failure.</para>
  69. </glossdef>
  70. </glossentry>
  71. </glossdiv>
  72. <glossdiv id='var-glossary-c'><title>C</title>
  73. <glossentry id='var-CFLAGS'><glossterm>CFLAGS</glossterm>
  74. <glossdef>
  75. <para>
  76. Flags passed to C compiler for the target system. Evaluates to the same
  77. as <link linkend='var-TARGET_CFLAGS'>TARGET_CFLAGS</link>.
  78. </para>
  79. </glossdef>
  80. </glossentry>
  81. <glossentry id='var-COMPATIBLE_MACHINE'><glossterm>COMPATIBLE_MACHINE</glossterm>
  82. <glossdef>
  83. <para>A regular expression which evalutates to match the machines the recipe
  84. works with. It stops recipes being run on machines they're incompatible with
  85. which is partciuarly useful with kernels. It also helps to to increase parsing
  86. speed as if its found the current machine is not compatible, further parsing
  87. of the recipe is skipped.</para>
  88. </glossdef>
  89. </glossentry>
  90. <glossentry id='var-CONFIG_SITE'><glossterm>CONFIG_SITE</glossterm>
  91. <glossdef>
  92. <para>
  93. Contains a list of files which containing autoconf test results relevant
  94. to the current build. This variable is used by the autotools utilities
  95. when running configure.
  96. </para>
  97. </glossdef>
  98. </glossentry>
  99. <glossentry id='var-CVS_TARBALL_STASH'><glossterm>CVS_TARBALL_STASH</glossterm>
  100. <glossdef>
  101. <para>Location to search for
  102. pre-generated tarballs when fetching from remote SCM
  103. repositories (CVS/SVN/GIT)</para>
  104. </glossdef>
  105. </glossentry>
  106. </glossdiv>
  107. <glossdiv id='var-glossary-d'><title>D</title>
  108. <glossentry id='var-D'><glossterm>D</glossterm>
  109. <glossdef>
  110. <para>Destination directory</para>
  111. </glossdef>
  112. </glossentry>
  113. <glossentry id='var-DEBUG_BUILD'><glossterm>DEBUG_BUILD</glossterm>
  114. <glossdef>
  115. <para>
  116. Build packages with debugging information. This influences the value
  117. <link linkend='var-SELECTED_OPTIMIZATION'>SELECTED_OPTIMIZATION</link>
  118. takes.
  119. </para>
  120. </glossdef>
  121. </glossentry>
  122. <glossentry id='var-DEBUG_OPTIMIZATION'><glossterm>DEBUG_OPTIMIZATION</glossterm>
  123. <glossdef>
  124. <para>
  125. The options to pass in <link linkend='var-TARGET_CFLAGS'>TARGET_CFLAGS</link>
  126. and <link linkend='var-CFLAGS'>CFLAGS</link> when compiling a system for debugging.
  127. This defaults to "-O -fno-omit-frame-pointer -g".
  128. </para>
  129. </glossdef>
  130. </glossentry>
  131. <glossentry id='var-DEFAULT_PREFERENCE'><glossterm>DEFAULT_PREFERENCE</glossterm>
  132. <glossdef>
  133. <para>Priority of recipe</para>
  134. </glossdef>
  135. </glossentry>
  136. <glossentry id='var-DEPENDS'><glossterm>DEPENDS</glossterm>
  137. <glossdef>
  138. <para>
  139. A list of build time dependencies for a given recipe. These indicate
  140. recipes that must have staged before this recipe can configure.
  141. </para>
  142. </glossdef>
  143. </glossentry>
  144. <glossentry id='var-DESCRIPTION'><glossterm>DESCRIPTION</glossterm>
  145. <glossdef>
  146. <para>Package description used by package
  147. managers</para>
  148. </glossdef>
  149. </glossentry>
  150. <glossentry id='var-DESTDIR'><glossterm>DESTDIR</glossterm>
  151. <glossdef>
  152. <para>Destination directory</para>
  153. </glossdef>
  154. </glossentry>
  155. <glossentry id='var-DISTRO'><glossterm>DISTRO</glossterm>
  156. <glossdef>
  157. <para>Short name of distribution</para>
  158. </glossdef>
  159. </glossentry>
  160. <glossentry id='var-DISTRO_EXTRA_RDEPENDS'><glossterm>DISTRO_EXTRA_RDEPENDS</glossterm>
  161. <glossdef>
  162. <para>List of packages required by distribution.</para>
  163. </glossdef>
  164. </glossentry>
  165. <glossentry id='var-DISTRO_EXTRA_RRECOMMENDS'><glossterm>DISTRO_EXTRA_RRECOMMENDS</glossterm>
  166. <glossdef>
  167. <para>List of packages which extend usability of
  168. image. Those packages will be automatically
  169. installed but can be removed by user.</para>
  170. </glossdef>
  171. </glossentry>
  172. <glossentry id='var-DISTRO_FEATURES'><glossterm>DISTRO_FEATURES</glossterm>
  173. <glossdef>
  174. <para>Features of the distribution.</para>
  175. </glossdef>
  176. </glossentry>
  177. <glossentry id='var-DISTRO_NAME'><glossterm>DISTRO_NAME</glossterm>
  178. <glossdef>
  179. <para>Long name of distribution</para>
  180. </glossdef>
  181. </glossentry>
  182. <glossentry id='var-DISTRO_PN_ALIAS'><glossterm>DISTRO_PN_ALIAS</glossterm>
  183. <glossdef>
  184. <para>Alias names of the recipe in various Linux distributions. </para>
  185. <para>See the "meta/package/xorg-app/xset_1.0.4.bb" file for an example</para>
  186. <para>More information in
  187. <link
  188. linkend='usingpoky-configuring-DISTRO_PN_ALIAS'>
  189. Configuring the DISTRO_PN_ALIAS variable section
  190. </link>
  191. </para>
  192. </glossdef>
  193. </glossentry>
  194. <glossentry id='var-DISTRO_VERSION'><glossterm>DISTRO_VERSION</glossterm>
  195. <glossdef>
  196. <para>Version of distribution</para>
  197. </glossdef>
  198. </glossentry>
  199. <glossentry id='var-DL_DIR'><glossterm>DL_DIR</glossterm>
  200. <glossdef>
  201. <para>Directory where all fetched sources will be stored</para>
  202. </glossdef>
  203. </glossentry>
  204. </glossdiv>
  205. <glossdiv id='var-glossary-e'><title>E</title>
  206. <glossentry id='var-ENABLE_BINARY_LOCALE_GENERATION'><glossterm>ENABLE_BINARY_LOCALE_GENERATION</glossterm>
  207. <glossdef>
  208. <para>Variable which control which locales for glibc are
  209. to be generated during build (useful if target device
  210. has 64M RAM or less)</para>
  211. </glossdef>
  212. </glossentry>
  213. <glossentry id='var-EXTRA_OECONF'><glossterm>EXTRA_OECONF</glossterm>
  214. <glossdef>
  215. <para>Additional 'configure' script options</para>
  216. </glossdef>
  217. </glossentry>
  218. <glossentry id='var-EXTRA_OEMAKE'><glossterm>EXTRA_OEMAKE</glossterm>
  219. <glossdef>
  220. <para>Additional GNU make options</para>
  221. </glossdef>
  222. </glossentry>
  223. </glossdiv>
  224. <glossdiv id='var-glossary-f'><title>F</title>
  225. <glossentry id='var-FILES'><glossterm>FILES</glossterm>
  226. <glossdef>
  227. <para>list of directories/files which will be placed
  228. in packages</para>
  229. </glossdef>
  230. </glossentry>
  231. <glossentry id='var-FULL_OPTIMIZATION'><glossterm>FULL_OPTIMIZATION</glossterm>
  232. <glossdef>
  233. <para>
  234. The options to pass in <link linkend='var-TARGET_CFLAGS'>TARGET_CFLAGS</link>
  235. and <link linkend='var-CFLAGS'>CFLAGS</link> when compiling an optimised system.
  236. This defaults to "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2".
  237. </para>
  238. </glossdef>
  239. </glossentry>
  240. </glossdiv>
  241. <!-- <glossdiv id='var-glossary-g'><title>G</title>-->
  242. <!-- </glossdiv>-->
  243. <glossdiv id='var-glossary-h'><title>H</title>
  244. <glossentry id='var-HOMEPAGE'><glossterm>HOMEPAGE</glossterm>
  245. <glossdef>
  246. <para>Website where more info about package can be found</para>
  247. </glossdef>
  248. </glossentry>
  249. </glossdiv>
  250. <glossdiv id='var-glossary-i'><title>I</title>
  251. <glossentry id='var-IMAGE_FEATURES'><glossterm>IMAGE_FEATURES</glossterm>
  252. <glossdef>
  253. <para><link linkend="ref-features-image">List of
  254. features</link> present in resulting images</para>
  255. </glossdef>
  256. </glossentry>
  257. <glossentry id='var-IMAGE_FSTYPES'><glossterm>IMAGE_FSTYPES</glossterm>
  258. <glossdef>
  259. <para>Formats of rootfs images which we want to have
  260. created</para>
  261. </glossdef>
  262. </glossentry>
  263. <glossentry id='var-IMAGE_INSTALL'><glossterm>IMAGE_INSTALL</glossterm>
  264. <glossdef>
  265. <para>List of packages used to build image</para>
  266. </glossdef>
  267. </glossentry>
  268. <glossentry id='var-INHIBIT_PACKAGE_STRIP'><glossterm>INHIBIT_PACKAGE_STRIP</glossterm>
  269. <glossdef>
  270. <para>
  271. This variable causes the build to not strip binaries in
  272. resulting packages.
  273. </para>
  274. </glossdef>
  275. </glossentry>
  276. <glossentry id='var-INHERIT'><glossterm>INHERIT</glossterm>
  277. <glossdef>
  278. <para>
  279. This variable causes the named class to be inherited at
  280. this point during parsing. Its only valid in configuration
  281. files.
  282. </para>
  283. </glossdef>
  284. </glossentry>
  285. <glossentry id='var-INITSCRIPT_PACKAGES'><glossterm>INITSCRIPT_PACKAGES</glossterm>
  286. <glossdef>
  287. <para>
  288. Scope: Used in recipes when using update-rc.d.bbclass. Optional, defaults to PN.
  289. </para>
  290. <para>
  291. A list of the packages which contain initscripts. If multiple
  292. packages are specified you need to append the package name
  293. to the other INITSCRIPT_* as an override.
  294. </para>
  295. </glossdef>
  296. </glossentry>
  297. <glossentry id='var-INITSCRIPT_NAME'><glossterm>INITSCRIPT_NAME</glossterm>
  298. <glossdef>
  299. <para>
  300. Scope: Used in recipes when using update-rc.d.bbclass. Mandatory.
  301. </para>
  302. <para>
  303. The filename of the initscript (as installed to ${etcdir}/init.d).
  304. </para>
  305. </glossdef>
  306. </glossentry>
  307. <glossentry id='var-INITSCRIPT_PARAMS'><glossterm>INITSCRIPT_PARAMS</glossterm>
  308. <glossdef>
  309. <para>
  310. Scope: Used in recipes when using update-rc.d.bbclass. Mandatory.
  311. </para>
  312. <para>
  313. Specifies the options to pass to update-rc.d. An example is
  314. "start 99 5 2 . stop 20 0 1 6 ." which gives the script a
  315. runlevel of 99, starts the script in initlevels 2 and 5 and
  316. stops it in levels 0, 1 and 6.
  317. </para>
  318. </glossdef>
  319. </glossentry>
  320. </glossdiv>
  321. <!-- <glossdiv id='var-glossary-j'><title>J</title>-->
  322. <!-- </glossdiv>-->
  323. <glossdiv id='var-glossary-k'><title>K</title>
  324. <glossentry id='var-KERNEL_IMAGETYPE'><glossterm>KERNEL_IMAGETYPE</glossterm>
  325. <glossdef>
  326. <para>The type of kernel to build for a device, usually set by the
  327. machine configuration files and defaults to "zImage". This is used
  328. when building the kernel and is passed to "make" as the target to
  329. build.</para>
  330. </glossdef>
  331. </glossentry>
  332. </glossdiv>
  333. <glossdiv id='var-glossary-l'><title>L</title>
  334. <glossentry id='var-LICENSE'><glossterm>LICENSE</glossterm>
  335. <glossdef>
  336. <para>List of package source licenses.</para>
  337. </glossdef>
  338. </glossentry>
  339. <glossentry id='var-LIC_FILES_CHKSUM'><glossterm>LIC_FILES_CHKSUM</glossterm>
  340. <glossdef>
  341. <para>Checksums of the license text in the recipe source code.
  342. </para>
  343. <para>This variables tracks changes in license text of the source
  344. code files. If the license text is changed it triggers the build
  345. failure. Which gives developer an oppurtunity to review any
  346. license changes</para>
  347. <para> This is an optional variable now. And the plan is to make
  348. it a required variable in the future </para>
  349. <para>See the "meta/package/zlib/zlib_${PV}.bb" file for an example</para>
  350. <para>More information in <link
  351. linkend='usingpoky-configuring-LIC_FILES_CHKSUM'>
  352. Configuring the LIC_FILES_CHKSUM variable section</link></para>
  353. </glossdef>
  354. </glossentry>
  355. </glossdiv>
  356. <glossdiv id='var-glossary-m'><title>M</title>
  357. <glossentry id='var-MACHINE'><glossterm>MACHINE</glossterm>
  358. <glossdef>
  359. <para>Target device</para>
  360. </glossdef>
  361. </glossentry>
  362. <glossentry id='var-MACHINE_ESSENTIAL_RDEPENDS'><glossterm>MACHINE_ESSENTIAL_RDEPENDS</glossterm>
  363. <glossdef>
  364. <para>List of packages required to boot device</para>
  365. </glossdef>
  366. </glossentry>
  367. <glossentry id='var-MACHINE_ESSENTIAL_RRECOMMENDS'><glossterm>MACHINE_ESSENTIAL_RRECOOMENDS</glossterm>
  368. <glossdef>
  369. <para>List of packages required to boot device (usually
  370. additional kernel modules)</para>
  371. </glossdef>
  372. </glossentry>
  373. <glossentry id='var-MACHINE_EXTRA_RDEPENDS'><glossterm>MACHINE_EXTRA_RDEPENDS</glossterm>
  374. <glossdef>
  375. <para>List of packages required to use device</para>
  376. </glossdef>
  377. </glossentry>
  378. <glossentry id='var-MACHINE_EXTRA_RRECOMMENDS'><glossterm>MACHINE_EXTRA_RRECOMMNEDS</glossterm>
  379. <glossdef>
  380. <para>List of packages useful to use device (for example
  381. additional kernel modules)</para>
  382. </glossdef>
  383. </glossentry>
  384. <glossentry id='var-MACHINE_FEATURES'><glossterm>MACHINE_FEATURES</glossterm>
  385. <glossdef>
  386. <para>List of device features - defined in <link
  387. linkend='ref-features-machine'>machine
  388. features section</link></para>
  389. </glossdef>
  390. </glossentry>
  391. <glossentry id='var-MAINTAINER'><glossterm>MAINTAINER</glossterm>
  392. <glossdef>
  393. <para>E-mail of distribution maintainer</para>
  394. </glossdef>
  395. </glossentry>
  396. </glossdiv>
  397. <!-- <glossdiv id='var-glossary-n'><title>N</title>-->
  398. <!-- </glossdiv>-->
  399. <!-- <glossdiv id='var-glossary-o'><title>O</title>-->
  400. <!-- </glossdiv>-->
  401. <glossdiv id='var-glossary-p'><title>P</title>
  402. <glossentry id='var-PACKAGE_ARCH'><glossterm>PACKAGE_ARCH</glossterm>
  403. <glossdef>
  404. <para>Architecture of resulting package</para>
  405. </glossdef>
  406. </glossentry>
  407. <glossentry id='var-PACKAGE_CLASSES'><glossterm>PACKAGE_CLASSES</glossterm>
  408. <glossdef>
  409. <para>List of resulting packages formats</para>
  410. </glossdef>
  411. </glossentry>
  412. <glossentry id='var-PACKAGE_EXTRA_ARCHS'><glossterm>PACKAGE_EXTRA_ARCHS</glossterm>
  413. <glossdef>
  414. <para>List of architectures compatible with device
  415. CPU. Usable when build is done for few different
  416. devices with misc processors (like XScale and
  417. ARM926-EJS)</para>
  418. </glossdef>
  419. </glossentry>
  420. <glossentry id='var-PACKAGES'><glossterm>PACKAGES</glossterm>
  421. <glossdef>
  422. <para>List of packages to be created from recipe.
  423. The default value is "${PN}-dbg ${PN} ${PN}-doc ${PN}-dev"</para>
  424. </glossdef>
  425. </glossentry>
  426. <glossentry id='var-PARALLEL_MAKE'><glossterm>PARALLEL_MAKE</glossterm>
  427. <glossdef>
  428. <para>Extra options that are passed to the make command during the
  429. compile tasks. This is usually of the form '-j 4' where the number
  430. represents the maximum number of parallel threads make can run.</para>
  431. </glossdef>
  432. </glossentry>
  433. <glossentry id='var-PN'><glossterm>PN</glossterm>
  434. <glossdef>
  435. <para>Name of package.
  436. </para>
  437. </glossdef>
  438. </glossentry>
  439. <glossentry id='var-PR'><glossterm>PR</glossterm>
  440. <glossdef>
  441. <para>Revision of package.
  442. </para>
  443. </glossdef>
  444. </glossentry>
  445. <glossentry id='var-PV'><glossterm>PV</glossterm>
  446. <glossdef>
  447. <para>Version of package.
  448. The default value is "1.0"</para>
  449. </glossdef>
  450. </glossentry>
  451. <glossentry id='var-PE'><glossterm>PE</glossterm>
  452. <glossdef>
  453. <para>
  454. Epoch of the package. The default value is "0". The field is used
  455. to make upgrades possible when the versioning scheme changes in
  456. some backwards incompatible way.
  457. </para>
  458. </glossdef>
  459. </glossentry>
  460. <glossentry id='var-PREFERRED_PROVIDER'><glossterm>PREFERRED_PROVIDER</glossterm>
  461. <glossdef>
  462. <para>If multiple recipes provide an item, this variable
  463. determines which one should be given preference. It
  464. should be set to the "$PN" of the recipe to be preferred.</para>
  465. </glossdef>
  466. </glossentry>
  467. <glossentry id='var-PREFERRED_VERSION'><glossterm>PREFERRED_VERSION</glossterm>
  468. <glossdef>
  469. <para>
  470. If there are multiple versions of recipe available, this
  471. variable determines which one should be given preference. It
  472. should be set to the "$PV" of the recipe to be preferred.
  473. </para>
  474. </glossdef>
  475. </glossentry>
  476. <glossentry id='var-POKY_EXTRA_INSTALL'><glossterm>POKY_EXTRA_INSTALL</glossterm>
  477. <glossdef>
  478. <para>List of packages to be added to the image. This should
  479. only be set in <filename>local.conf</filename>.</para>
  480. </glossdef>
  481. </glossentry>
  482. <glossentry id='var-POKYLIBC'><glossterm>POKYLIBC</glossterm>
  483. <glossdef>
  484. <para>Libc implementation selector - glibc or uclibc can be selected.</para>
  485. </glossdef>
  486. </glossentry>
  487. <glossentry id='var-POKYMODE'><glossterm>POKYMODE</glossterm>
  488. <glossdef>
  489. <para>Toolchain selector. It can be external toolchain
  490. built from Poky or few supported combinations of
  491. upstream GCC or CodeSourcery Labs toolchain.</para>
  492. </glossdef>
  493. </glossentry>
  494. </glossdiv>
  495. <!-- <glossdiv id='var-glossary-q'><title>Q</title>-->
  496. <!-- </glossdiv>-->
  497. <glossdiv id='var-glossary-r'><title>R</title>
  498. <glossentry id='var-RCONFLICTS'><glossterm>RCONFLICTS</glossterm>
  499. <glossdef>
  500. <para>List of packages which which conflict with this
  501. one. Package will not be installed if they will not
  502. be removed first.</para>
  503. </glossdef>
  504. </glossentry>
  505. <glossentry id='var-RDEPENDS'><glossterm>RDEPENDS</glossterm>
  506. <glossdef>
  507. <para>
  508. A list of run-time dependencies for a package. These packages
  509. need to be installed alongside the package it applies to so
  510. the package will run correctly, an example is a perl script
  511. which would rdepend on perl. Since this variable applies to
  512. output packages there would usually be an override attached
  513. to this variable like RDEPENDS_${PN}-dev. Names in this field
  514. should be as they are in <link linkend='var-PACKAGES'>PACKAGES
  515. </link> namespace before any renaming of the output package
  516. by classes like debian.bbclass.
  517. </para>
  518. </glossdef>
  519. </glossentry>
  520. <glossentry id='var-ROOT_FLASH_SIZE'><glossterm>ROOT_FLASH_SIZE</glossterm>
  521. <glossdef>
  522. <para>Size of rootfs in megabytes</para>
  523. </glossdef>
  524. </glossentry>
  525. <glossentry id='var-RRECOMMENDS'><glossterm>RRECOMMENDS</glossterm>
  526. <glossdef>
  527. <para>List of packages which extend usability of
  528. package. Those packages will be automatically
  529. installed but can be removed by user.</para>
  530. </glossdef>
  531. </glossentry>
  532. <glossentry id='var-RREPLACES'><glossterm>RREPLACES</glossterm>
  533. <glossdef>
  534. <para>List of packages which are replaced with this
  535. one.</para>
  536. </glossdef>
  537. </glossentry>
  538. </glossdiv>
  539. <glossdiv id='var-glossary-s'><title>S</title>
  540. <glossentry id='var-S'><glossterm>S</glossterm>
  541. <glossdef>
  542. <para>
  543. Path to unpacked sources (by default:
  544. "${<link linkend='var-WORKDIR'>WORKDIR</link>}/${<link linkend='var-PN'>PN</link>}-${<link linkend='var-PV'>PV</link>}")
  545. </para>
  546. </glossdef>
  547. </glossentry>
  548. <glossentry id='var-SECTION'><glossterm>SECTION</glossterm>
  549. <glossdef>
  550. <para>Section where package should be put - used
  551. by package managers</para>
  552. </glossdef>
  553. </glossentry>
  554. <glossentry id='var-SELECTED_OPTIMIZATION'><glossterm>SELECTED_OPTIMIZATION</glossterm>
  555. <glossdef>
  556. <para>
  557. The variable takes the value of <link linkend='var-FULL_OPTIMIZATION'>FULL_OPTIMIZATION</link>
  558. unless <link linkend='var-DEBUG_BUILD'>DEBUG_BUILD</link> = "1" in which case
  559. <link linkend='var-DEBUG_OPTIMIZATION'>DEBUG_OPTIMIZATION</link> is used.
  560. </para>
  561. </glossdef>
  562. </glossentry>
  563. <glossentry id='var-SERIAL_CONSOLE'><glossterm>SERIAL_CONSOLE</glossterm>
  564. <glossdef>
  565. <para>Speed and device for serial port used to attach
  566. serial console. This is given to kernel as "console"
  567. param and after boot getty is started on that port
  568. so remote login is possible.</para>
  569. </glossdef>
  570. </glossentry>
  571. <glossentry id='var-SHELLCMDS'><glossterm>SHELLCMDS</glossterm>
  572. <glossdef>
  573. <para>
  574. A list of commands to run within the a shell, used by <glossterm><link
  575. linkend='var-TERMCMDRUN'>TERMCMDRUN</link></glossterm>. It defaults to
  576. <glossterm><link linkend='var-SHELLRCCMD'>SHELLRCCMD</link></glossterm>.
  577. </para>
  578. </glossdef>
  579. </glossentry>
  580. <glossentry id='var-SHELLRCCMD'><glossterm>SHELLRCCMD</glossterm>
  581. <glossdef>
  582. <para>
  583. How to launch a shell, defaults to bash.
  584. </para>
  585. </glossdef>
  586. </glossentry>
  587. <glossentry id='var-SITEINFO_ENDIANESS'><glossterm>SITEINFO_ENDIANESS</glossterm>
  588. <glossdef>
  589. <para>
  590. Contains "le" for little-endian or "be" for big-endian depending
  591. on the endian byte order of the target system.
  592. </para>
  593. </glossdef>
  594. </glossentry>
  595. <glossentry id='var-SITEINFO_BITS'><glossterm>SITEINFO_BITS</glossterm>
  596. <glossdef>
  597. <para>
  598. Contains "32" or "64" depending on the number of bits for the
  599. CPU of the target system.
  600. </para>
  601. </glossdef>
  602. </glossentry>
  603. <glossentry id='var-SRC_URI'><glossterm>SRC_URI</glossterm>
  604. <glossdef>
  605. <para>List of source files (local or remote ones)</para>
  606. </glossdef>
  607. </glossentry>
  608. <glossentry id='var-SRC_URI_OVERRIDES_PACKAGE_ARCH'><glossterm>SRC_URI_OVERRIDES_PACKAGE_ARCH</glossterm>
  609. <glossdef>
  610. <para>
  611. By default there is code which automatically detects whether
  612. <glossterm><link linkend='var-SRC_URI'>SRC_URI</link></glossterm>
  613. contains files which are machine specific and if this is the case it
  614. automatically changes
  615. <glossterm><link linkend='var-PACKAGE_ARCH'>PACKAGE_ARCH</link></glossterm>.
  616. Setting this variable to "0" disables that behaviour.
  617. </para>
  618. </glossdef>
  619. </glossentry>
  620. <glossentry id='var-SRCDATE'><glossterm>SRCDATE</glossterm>
  621. <glossdef>
  622. <para>
  623. Date of source code used to build package (if it was fetched
  624. from SCM).
  625. </para>
  626. </glossdef>
  627. </glossentry>
  628. <glossentry id='var-SRCREV'><glossterm>SRCREV</glossterm>
  629. <glossdef>
  630. <para>
  631. Revision of source code used to build package (Subversion,
  632. GIT, Bazaar only).
  633. </para>
  634. </glossdef>
  635. </glossentry>
  636. <glossentry id='var-STAGING_KERNEL_DIR'><glossterm>STAGING_KERNEL_DIR</glossterm>
  637. <glossdef>
  638. <para>
  639. Directory with kernel headers required to build out-of-tree
  640. modules.
  641. </para>
  642. </glossdef>
  643. </glossentry>
  644. <glossentry id='var-STAMPS'><glossterm>STAMPS</glossterm>
  645. <glossdef>
  646. <para>
  647. Directory (usually TMPDIR/stamps) with timestamps of
  648. executed tasks.
  649. </para>
  650. </glossdef>
  651. </glossentry>
  652. </glossdiv>
  653. <glossdiv id='var-glossary-t'><title>T</title>
  654. <glossentry id='var-TARGET_ARCH'><glossterm>TARGET_ARCH</glossterm>
  655. <glossdef>
  656. <para>The architecture of the device we're building for.
  657. A number of values are possible but Poky primarily supports
  658. "arm" and "i586".</para>
  659. </glossdef>
  660. </glossentry>
  661. <glossentry id='var-TARGET_CFLAGS'><glossterm>TARGET_CFLAGS</glossterm>
  662. <glossdef>
  663. <para>
  664. Flags passed to C compiler for the target system. Evaluates to the same
  665. as <link linkend='var-CFLAGS'>CFLAGS</link>.
  666. </para>
  667. </glossdef>
  668. </glossentry>
  669. <glossentry id='var-TARGET_FPU'><glossterm>TARGET_FPU</glossterm>
  670. <glossdef>
  671. <para>Method of handling FPU code. For FPU-less targets
  672. (most of ARM cpus) it has to be set to "soft" otherwise
  673. kernel emulation will get used which will result in
  674. performance penalty.</para>
  675. </glossdef>
  676. </glossentry>
  677. <glossentry id='var-TARGET_OS'><glossterm>TARGET_OS</glossterm>
  678. <glossdef>
  679. <para>Type of target operating system. Can be "linux"
  680. for glibc based system, "linux-uclibc" for uClibc. For
  681. ARM/EABI targets there are also "linux-gnueabi" and
  682. "linux-uclibc-gnueabi" values possible.</para>
  683. </glossdef>
  684. </glossentry>
  685. <glossentry id='var-TERMCMD'><glossterm>TERMCMD</glossterm>
  686. <glossdef>
  687. <para>
  688. This command is used by bitbake to lauch a terminal window with a
  689. shell. The shell is unspecified so the user's default shell is used.
  690. By default it is set to <command>gnome-terminal</command> but it can
  691. be any X11 terminal application or terminal multiplexers like screen.
  692. </para>
  693. </glossdef>
  694. </glossentry>
  695. <glossentry id='var-TERMCMDRUN'><glossterm>TERMCMDRUN</glossterm>
  696. <glossdef>
  697. <para>
  698. This command is similar to <glossterm><link
  699. linkend='var-TERMCMD'>TERMCMD</link></glossterm> however instead of the users shell it runs the command specified by the <glossterm><link
  700. linkend='var-SHELLCMDS'>SHELLCMDS</link></glossterm> variable.
  701. </para>
  702. </glossdef>
  703. </glossentry>
  704. </glossdiv>
  705. <!-- <glossdiv id='var-glossary-u'><title>U</title>-->
  706. <!-- </glossdiv>-->
  707. <!-- <glossdiv id='var-glossary-v'><title>V</title>-->
  708. <!-- </glossdiv>-->
  709. <glossdiv id='var-glossary-w'><title>W</title>
  710. <glossentry id='var-WORKDIR'><glossterm>WORKDIR</glossterm>
  711. <glossdef>
  712. <para>Path to directory in tmp/work/ where package
  713. will be built.</para>
  714. </glossdef>
  715. </glossentry>
  716. </glossdiv>
  717. <!-- <glossdiv id='var-glossary-x'><title>X</title>-->
  718. <!-- </glossdiv>-->
  719. <!-- <glossdiv id='var-glossary-y'><title>Y</title>-->
  720. <!-- </glossdiv>-->
  721. <!-- <glossdiv id='var-glossary-z'><title>Z</title>-->
  722. <!-- </glossdiv>-->
  723. </glossary>
  724. </appendix>
  725. <!--
  726. vim: expandtab tw=80 ts=4
  727. -->