Skip to contentSkip to conversation

mesa-pvr-24: Fix llvm-config handling

PATCH In review Ryan Eatmon 2 participants 2 messages Jul 14

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mesa-pvr-24: Fix llvm-config handling

A recent change in oe-core [1] for the mesa package introduced this change to properly handle the llvm-config. Since we have copied the mesa.inc we now need to copy this change as well.

[1] https://git.openembedded.org/openembedded-core/commit/?id=8aace29b692a8f3902a675fb4c022c223ba49531

This is a backport from the mesa-pvr-25.inc file.

---
 .../recipes-graphics/mesa/mesa-pvr-24.inc        | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr-24.inc +16 -0
index 5ce93d27..2c4299c7 100644
@@ -60,6 +60,22 @@ ANY_OF_DISTRO_FEATURES = "opengl vulkan"
 
 PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)}"
 
+replace_llvm_config_path() {
+    if [ -f "${STAGING_BINDIR_CROSS}/llvm-config" ]; then
+        sed -i \
+            's#@LLVM_CONFIG_PATH@#${STAGING_BINDIR_NATIVE}/llvm-config#g' \
+            ${STAGING_BINDIR_CROSS}/llvm-config
+    fi
+}
+
+do_configure:prepend:class-target() {
+    replace_llvm_config_path
+}
+
+do_configure:prepend:class-nativesdk() {
+    replace_llvm_config_path
+}
+
 # set the MESA_BUILD_TYPE to either 'release' (default) or 'debug'
 # by default the upstream mesa sources build a debug release
 # here we assume the user will want a release build by default
Signature · 1 line
2.43.0
#1 lore raw

meta-ti / na / 20260714165610.3591270-1-reatmon

PRC Results: PASS

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed

=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-ti][master][PATCH] mesa-pvr-24: Fix llvm-config handling
- Submitter: From: Ryan Eatmon <[email protected]>
- Date: Date: Tue, 14 Jul 2026 11:56:10 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 0390f31b85cb7873e83b7e6527bdbb1f17b1ee37

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-wip
- Commit Author: Ryan Eatmon <[email protected]>
- Commit Subject: mesa-pvr-24: Fix llvm-config handling
- Commit SHA: 5b13db24d8acd1d07a0eca3fbf888eceb111e33e

Patches
----------------------------------------
All patches applied

=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS

=========================================================
yocto-check-layers: PASS
=========================================================
master - PASS
=====================
All checks passed