mbox series

[meta-arago,master/scarthgap,00/10] Wrap bbappends in a

Message ID 20250312144540.14210-1-reatmon@ti.com
Headers show
Series Wrap bbappends in a | expand

Message

Ryan Eatmon March 12, 2025, 2:45 p.m. UTC
We are moving to make the meta-arago layers Yocto Project Compatible.

https://www.yoctoproject.org/development/yocto-project-compatible-layers/

We have been cleaning up the layer according to the yocto-check-layer
tool.  This series address the idea that simply adding a layer into a
build (but not referencing anything from that layer), should not change
the builds in any way.  The main source for violating this check is
having a "naked" bbappend file that just blindly makes changes to a
recipe from another layer.

To address this we are wrapping our bbappends behind a guard.  We move
the contents of the bbappend into a .inc file, and change the bbappend
to only load that .inc if we are building something related to the
layer.  In some cases is that is basing it off of building Arago as the
distro, in others it is based on if we are build a TI SOC from meta-ti.

Ryan Eatmon (10):
  irqbalance: Wrap the bbappend in a compliant manner
  pm-qa: Wrap the bbappend in a compliant manner
  piglit: Wrap the bbappend in a compliant manner
  mtd-utils: Wrap the bbappend in a compliant manner
  v4l-utils: Wrap the bbappend in a compliant manner
  gstreamer1.0-plugins-good: Wrap the bbappend in a compliant manner
  wayland-protocols: Wrap the bbappend in a compliant manner
  glfw: Wrap the bbappend in a compliant manner
  open62541: Wrap the bbappend in a compliant manner
  open62541: Fix Upstream-Status typo in patch

 .../{pm-qa_%.bbappend => pm-qa-arago.inc}     |  5 +-
 .../recipes-devtools/pm-qa/pm-qa_%.bbappend   | 10 ++--
 ...ance_git.bbappend => irqbalance-arago.inc} |  0
 .../irqbalance/irqbalance_git.bbappend        |  8 ++--
 ...en62541_%.bbappend => open62541-arago.inc} |  8 ++--
 ...Lists-do-not-install-git-directories.patch |  2 +-
 .../open62541/open62541_%.bbappend            | 42 ++---------------
 .../glfw/{glfw_%.bbappend => glfw-arago.inc}  |  0
 .../recipes-graphics/glfw/glfw_%.bbappend     | 10 ++--
 ...%.bbappend => wayland-protocols-arago.inc} |  2 +-
 .../wayland/wayland-protocols_%.bbappend      | 15 ++----
 ... gstreamer1.0-plugins-good_1.24-arago.inc} |  2 +-
 .../gstreamer1.0-plugins-good_1.24.%.bbappend | 12 ++---
 ...l-utils_%.bbappend => v4l-utils-arago.inc} |  2 +-
 .../v4l2apps/v4l-utils_%.bbappend             |  9 ++--
 .../recipes-core/packagegroups/ti-test.bb     |  5 +-
 ...{mtd-utils_%.bbappend => mtd-utils-ti.inc} |  0
 .../recipes-devtools/mtd/mtd-utils_%.bbappend | 47 ++-----------------
 .../{piglit_%.bbappend => piglit-ti.inc}      |  0
 .../recipes-graphics/piglit/piglit_%.bbappend | 32 ++-----------
 20 files changed, 44 insertions(+), 167 deletions(-)
 copy meta-arago-distro/recipes-devtools/pm-qa/{pm-qa_%.bbappend => pm-qa-arago.inc} (62%)
 copy meta-arago-distro/recipes-extended/irqbalance/{irqbalance_git.bbappend => irqbalance-arago.inc} (100%)
 copy meta-arago-extras/recipes-connectivity/open62541/{open62541_%.bbappend => open62541-arago.inc} (83%)
 copy meta-arago-extras/recipes-graphics/glfw/{glfw_%.bbappend => glfw-arago.inc} (100%)
 copy meta-arago-extras/recipes-graphics/wayland/{wayland-protocols_%.bbappend => wayland-protocols-arago.inc} (85%)
 copy meta-arago-extras/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.24.%.bbappend => gstreamer1.0-plugins-good_1.24-arago.inc} (83%)
 copy meta-arago-extras/recipes-multimedia/v4l2apps/{v4l-utils_%.bbappend => v4l-utils-arago.inc} (69%)
 copy meta-arago-test/recipes-devtools/mtd/{mtd-utils_%.bbappend => mtd-utils-ti.inc} (100%)
 copy meta-arago-test/recipes-graphics/piglit/{piglit_%.bbappend => piglit-ti.inc} (100%)