tree: 56275c8cda0d1efb5dbeacca7a16c80126548d6e [path history] [tgz]
  1. baseboard-asurada/
  2. baseboard-brox/
  3. baseboard-brya/
  4. baseboard-cherry/
  5. baseboard-coral/
  6. baseboard-corsola/
  7. baseboard-dedede/
  8. baseboard-drallion/
  9. baseboard-fizz/
  10. baseboard-geralt/
  11. baseboard-glados/
  12. baseboard-gru/
  13. baseboard-grunt/
  14. baseboard-hatch/
  15. baseboard-jecht/
  16. baseboard-kalista/
  17. baseboard-keeby/
  18. baseboard-krabbylake/
  19. baseboard-kukui/
  20. baseboard-nami/
  21. baseboard-oak/
  22. baseboard-octopus/
  23. baseboard-poppy/
  24. baseboard-puff/
  25. baseboard-rammus/
  26. baseboard-reef/
  27. baseboard-rex/
  28. baseboard-sarien/
  29. baseboard-trogdor/
  30. baseboard-volteer/
  31. chipset-adl/
  32. chipset-adln/
  33. chipset-apl/
  34. chipset-bdw/
  35. chipset-cezanne/
  36. chipset-cml/
  37. chipset-glk/
  38. chipset-jsl/
  39. chipset-kbl/
  40. chipset-mendocino/
  41. chipset-mt8173/
  42. chipset-mt8183/
  43. chipset-mt8186/
  44. chipset-mt8188g/
  45. chipset-mt8192/
  46. chipset-mt8195/
  47. chipset-mtl/
  48. chipset-phoenix/
  49. chipset-picasso/
  50. chipset-qc7180/
  51. chipset-rk3399/
  52. chipset-rpl/
  53. chipset-skl/
  54. chipset-stnyridge/
  55. chipset-tgl/
  56. chipset-whl/
  57. overlay-amd64-generic/
  58. overlay-amd64-generic-embedded/
  59. overlay-amd64-generic-koosh/
  60. overlay-amd64-host/
  61. overlay-amd64-starnix/
  62. overlay-arm-generic/
  63. overlay-arm64-generic/
  64. overlay-asurada/
  65. overlay-asurada64/
  66. overlay-atlas/
  67. overlay-aurora/
  68. overlay-brask/
  69. overlay-brask-labstation/
  70. overlay-brox/
  71. overlay-brya/
  72. overlay-brya-lvm-rootfs/
  73. overlay-bubs/
  74. overlay-caroline/
  75. overlay-cherry/
  76. overlay-cherry64/
  77. overlay-coral/
  78. overlay-corsola/
  79. overlay-dedede/
  80. overlay-drallion/
  81. overlay-elm/
  82. overlay-eve/
  83. overlay-ferrochrome/
  84. overlay-fizz/
  85. overlay-fizz-labstation/
  86. overlay-fizz-moblab/
  87. overlay-fizz-satlab/
  88. overlay-geralt/
  89. overlay-grunt/
  90. overlay-guado/
  91. overlay-guybrush/
  92. overlay-hana/
  93. overlay-hana64/
  94. overlay-hatch/
  95. overlay-jacuzzi/
  96. overlay-jacuzzi64/
  97. overlay-kalista/
  98. overlay-keeby/
  99. overlay-kukui/
  100. overlay-kukui64/
  101. overlay-majolica/
  102. overlay-mushu/
  103. overlay-myst/
  104. overlay-nami/
  105. overlay-nautilus/
  106. overlay-nissa/
  107. overlay-nocturne/
  108. overlay-octopus/
  109. overlay-ovis/
  110. overlay-passionfruit/
  111. overlay-puff/
  112. overlay-pyro/
  113. overlay-rammus/
  114. overlay-reef/
  115. overlay-reven/
  116. overlay-rex/
  117. overlay-sand/
  118. overlay-sarien/
  119. overlay-scarlet/
  120. overlay-shotzo/
  121. overlay-simple-fake-board/
  122. overlay-skyrim/
  123. overlay-snappy/
  124. overlay-soraka/
  125. overlay-soraka-libcamera/
  126. overlay-staryu/
  127. overlay-strongbad/
  128. overlay-strongbad-kernelnext/
  129. overlay-tael/
  130. overlay-tatl/
  131. overlay-trogdor/
  132. overlay-trogdor-kernelnext/
  133. overlay-variant-guado-labstation/
  134. overlay-volteer/
  135. overlay-zork/
  136. project-labstation/
  137. project-mobbase/
  138. project-moblab/
  139. project-satlab/
  140. project-termina/
  141. project-wilco/
  142. .presubmitignore
  143. check-default-rootdev.py
  144. check-metadata.py
  145. OWNERS
  146. OWNERS.binhosts
  147. OWNERS.dlm_workflow
  148. OWNERS.metadata_cache
  149. PRESUBMIT.cfg
  150. README.md
  151. unblocked_terms.txt
README.md

Board Overlays

This directory contains board overlays. When a board is configured using setup_board --board <board> the following overlays are added to the make.conf PORTDIR_OVERLAY if they exist:

src/overlays/overlay-<board>
src/private-overlays/overlay-<board>-private

A private board overlay can augment an existing non-private board overlay, or can serve as the primary board overlay for a board with no non-private board overlay.

All board overlays should contain a toolchain.conf, specifying the toolchains required to build that board. Variants can inherit toolchain.conf from their primary board overlay.

The board and variant names can not have underscores or spaces in them.

Profiles

Overlays can contain named profiles as subdirectories of the profiles directory. If the board overlay contains a base profile, Portage will use that by default for the board; otherwise, Portage will use a profile from chromiumos-overlay.

Within a profile, a board overlay will most commonly want to specify package-specific USE flags via package.use, mask or unmask package versions via package.mask and package.unmask, or mask or unmask keywords via package.keywords. See man portage in the chroot for full details on those and other files that can appear in a profile.

Profiles in a board overlay must have a file parent containing a list of parent profiles. Each listed profile may be of the format repo-name:profile, or a relative path to another profile in the same overlay.

Adding a base profile to a board overlay that did not previously have a profile will require re-running setup_board with --force.

layout.conf

Overlays should contain a metadata directory with a layout.conf file therein. The layout.conf file specifies the masters list. This is a list of repository names (via repo-name). This list disambiguates the selection of ebuilds. When two overlays supply the same ebuild the overlay whose repo_name is listed later in the masters list will be used. The masters list also effects the way that portage searches for eclasses. By having the chromiumos overlay as the last entry in the masters list, portage will correctly find the chromiumos specific eclasses.

Board-specific packages

A board overlay will typically want to provide additional packages to install. ChromiumOS builds install the virtual/target-os package by default, whose RDEPEND brings in all the packages installed by default. virtual/target-os RDEPENDs on the virtual package virtual/chromeos-bsp, which exists for board overlays to override. chromiumos-overlay provides a default version of virtual/chromeos-bsp which RDEPENDs on the empty package chromeos-base/chromeos-bsp-null. Board overlays should provide a virtual/chromeos-bsp package that RDEPENDs on chromeos-base/chromeos-bsp-boardname, and a chromeos-base/chromeos-bsp-boardname package that RDEPENDs on any desired board-specific packages.

A board overlay can also provide additional packages to install in dev builds only, via similar packages virtual/chromeos-bsp-dev and chromeos-base/chromeos-bsp-dev-boardname. ChromiumOS dev builds install virtual/target-os-dev by default, which RDEPENDs on virtual/chromeos-bsp-dev via means of virtual/target-chromium-os-dev.

Similarly, a virtual/chromeos-bsp-test package can be provided for test images.

Note that a board overlay cannot specify package-specific USE flags by using an RDEPEND with a use flag, such as section/package[useflag]; instead, add section/package useflag to package.use in a profile.

Private host overlays

The host (non-cross-compiling) build environment will use the following overlay if it exists:

src/private-overlays/chromeos-overlay

This overlay contains private packages needed on the host system to compile target packages used in a private overlay. Packages only needed on the target system should appear in a private board overlay.

Like a board overlay, a private host overlay must include a layout.conf with masters set, so that the packages within that host overlay can reference eclasses from the parent overlays chromiumos-overlay or portage-stable.