Skip to content

Commit 4f4e17d

Browse files
qcom-adreno: provide the metapackage pulling ICD packages (#1091)
Add empty qcom-adreno package, depending on individual Installable Client Driver (ICD) packages provided by the recipe.
2 parents e7c59e4 + e3f02bc commit 4f4e17d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

recipes-graphics/adreno/qcom-adreno_1.838.1.bb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ RDEPENDS:${PN}-egl += " ${PN}-common ${PN}-gles1 ${PN}-gles2"
3535
RDEPENDS:${PN}-vulkan += " ${PN}-common"
3636
RDEPENDS:${PN}-cl += " ${PN}-common"
3737

38+
RDEPENDS:${PN} = " \
39+
${@bb.utils.contains('DISTRO_FEATURES', 'glvnd', 'qcom-adreno-egl', '', d)} \
40+
${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', 'qcom-adreno-vulkan', '', d)} \
41+
${@bb.utils.contains('DISTRO_FEATURES', 'opencl', 'qcom-adreno-cl', '', d)} \
42+
"
43+
44+
ALLOW_EMPTY:${PN} = "1"
45+
3846
do_install () {
3947
install -d ${D}/${libdir}
4048
cp -r ${S}/usr/lib/* ${D}/${libdir}/

0 commit comments

Comments
 (0)