Skip to content

Draft: distro: Add MediaTek-based module

Oleksii Kutuzov requested to merge add-mtk into kirkstone

Quick overview:

  • MACHINES_MTK and MACHINES_IMX variables are introduces to contain all available machines for each platform.
  • Distro configs are split into platform-specific files and are chosen dynamically based on MACHINE variable. This way we can keep them relatively independent from one another, each with their own includes inside one layer but it will still keep the same distro name for both platforms (or more in the future).
  • DISTROOVERRIDES variables are added to separate the conflicting bbappend files (currently some empty files for 'mtk' are added).
  • nginx is moved to dynamic layers.
  • MediaTek packagegroup is added.
  • fstab file is separated for imx and mtk.
  • We can keep a single seconorth-image.bb file, but enable/disable platfrom-specific packages/groups based on MACHINE variable.
Edited by Oleksii Kutuzov

Merge request reports