diff mbox series

[meta-arago,master/scarthgap,08/10] glfw: Wrap the bbappend in a compliant manner

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

Commit Message

Ryan Eatmon March 12, 2025, 2:45 p.m. UTC
Wrap the bbappend in a yocto-check-layer compliant manner so that only
if you are building this recipe under meta-arago-distro with the arago
DISTRO_OVERRIDE would the bbappend apply.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 .../glfw/{glfw_%.bbappend => glfw-arago.inc}           |  0
 .../recipes-graphics/glfw/glfw_%.bbappend              | 10 +++-------
 2 files changed, 3 insertions(+), 7 deletions(-)
 copy meta-arago-extras/recipes-graphics/glfw/{glfw_%.bbappend => glfw-arago.inc} (100%)
diff mbox series

Patch

diff --git a/meta-arago-extras/recipes-graphics/glfw/glfw_%.bbappend b/meta-arago-extras/recipes-graphics/glfw/glfw-arago.inc
similarity index 100%
copy from meta-arago-extras/recipes-graphics/glfw/glfw_%.bbappend
copy to meta-arago-extras/recipes-graphics/glfw/glfw-arago.inc
diff --git a/meta-arago-extras/recipes-graphics/glfw/glfw_%.bbappend b/meta-arago-extras/recipes-graphics/glfw/glfw_%.bbappend
index 8352a866..8aa73700 100644
--- a/meta-arago-extras/recipes-graphics/glfw/glfw_%.bbappend
+++ b/meta-arago-extras/recipes-graphics/glfw/glfw_%.bbappend
@@ -1,8 +1,4 @@ 
-# Add some wayland configuration options until meta-oe adds some good
-# PACKAGECONFIGS
+GLFW_ARAGO = ""
+GLFW_ARAGO:arago = "glfw-arago.inc"
 
-PR:append = ".arago1"
-
-PACKAGECONFIG[wayland] = "-DGLFW_USE_WAYLAND=ON,,wayland wayland-native wayland-protocols extra-cmake-modules libxkbcommon"
-
-PACKAGECONFIG += " wayland"
+require ${GLFW_ARAGO}