dh-electronics / meta-av96

Yocto Meta Layer for Avenger96
4 stars 8 forks source link

Demo/example meta-data extraction from meta-av96 #8

Open ghost opened 3 years ago

ghost commented 3 years ago

Problem description:

  1. Currently, some of the meta-data such as the ones in av96-root-files will affect all builds that include this layer in their bblayers.conf. Even if we intend to build for stm32mp1-av96, we don't necessarily want to modify configuration files on the rootfs as a result of parsing .bbappend files.
  2. To pull all essential firmware binaries, we are forced to include whole set of av96-root-files

Suggested solution:

  1. Extract demo/example meta-data from this layer to a separate meta-layer.
  2. Decouple recipes-bsp into actual BSP bits and other recipes such as kernel, devtools, etc. Always include firmware by using MACHINE_EXTRA_RRECOMMENDS in the machine configuration.
ghost commented 3 years ago