4

Can you please explain briefly what are BSP and distribution layers and what is the difference between them?

Actually I'm not looking for Yocto project manual references but will be glad to get explanation as you understand it, in your words.

Munky munk
  • 41
  • 4
  • 1
    You may not be looking for manual references but that's still the place that has the right answer. [Section 3.2 _Metadata, Machine Configuration, and Policy Configuration_](http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#metadata-machine-configuration-and-policy-configuration) explains this in very clear language. – Jussi Kukkonen Jul 15 '15 at 08:10

1 Answers1

7

Well, despite what you ask for, the manual has the definition: Machine and policy configuration

The BSP layer is about providing a machine configuration (describing what HW your machine have) and to provide the necessary low level support, kernel and bootloader, external drivers, and possibly other applications for support and enablement.

The BSP layer must not modify anything in any recipe, unless the machine(s) supported by that layer is selected.

The distribution (policy) layer is responsible for configuration of distribution wide features and selections. Examples could be package format, C library, init system, etc. It should also decide whether to build enable X11, WiFi, Bluetooth, etc, support in all the other recipes. This is done by adding to the DISTRO_FEATURES variable, which different recipes later on should check in order to decide whether or not to build with different configurations.

As previously mentioned, check the manual for more detailed information.

Anders
  • 8,541
  • 1
  • 27
  • 34