When the graphics driver is not built with x11 support the pkg-config
file will include a cflag that causes the correct non-x11 headers to
be included. This package does not correctly check pkg-config and
so misses this cflag. Add it manually.

Signed-off-by: Andrew Davis <[email protected]>
---
 .../recipes-graphics/glsdk-example-apps/glsdk-example-apps.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/meta-arago-extras/recipes-graphics/glsdk-example-apps/glsdk-example-apps.bb 
b/meta-arago-extras/recipes-graphics/glsdk-example-apps/glsdk-example-apps.bb
index 6827ed31..7b0bc3c4 100644
--- 
a/meta-arago-extras/recipes-graphics/glsdk-example-apps/glsdk-example-apps.bb
+++ 
b/meta-arago-extras/recipes-graphics/glsdk-example-apps/glsdk-example-apps.bb
@@ -16,7 +16,9 @@ SRC_URI = 
"git://git.ti.com/git/glsdk/example-applications.git;protocol=https;br
 
 SRCREV="52466430609c402a9f1c0667ccf727d096336d0d"
 
-PR = "r52"
+PR = "r53"
+
+CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 
'-DEGL_NO_X11',d)}"
 
 do_install:append () {
     install -d ${D}${sysconfdir}/glsdkstatcoll
-- 
2.39.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14212): 
https://lists.yoctoproject.org/g/meta-arago/message/14212
Mute This Topic: https://lists.yoctoproject.org/mt/96842887/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to