Add provider for virtual/tegra-gbm-backend

Both the tegra-udrm-gbm and tegra-libraries-gbm-backend work to
provide buffers for libgbm (they are gbm backends).

This change adds a provider so that either implementation can be
chosen, preferring NVIDIA's official binary version.

Signed-off-by: Kurt Kiefer <kekiefer@gmail.com>
This commit is contained in:
Kurt Kiefer
2022-08-17 22:03:07 -07:00
committed by Matt Madison
parent 4f0cadef35
commit a99117d08b
4 changed files with 6 additions and 1 deletions

View File

@@ -2,7 +2,7 @@ EXTRA_OEMESON:append:tegra = " -Dglvnd=true"
DEPENDS:append:tegra = " libglvnd"
PROVIDES:tegra = "virtual/mesa virtual/libgbm"
RDEPENDS:libgbm:append:tegra = " tegra-udrm-gbm"
RDEPENDS:libgbm:append:tegra = " tegra-gbm-backend"
# Workaround for the do_install:append() present in the OE-Core recipe
do_install:prepend:tegra() {

View File

@@ -3,6 +3,8 @@ HOMEPAGE = "https://github.com/oe4t/tegra-udrm-gbm"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c43c2c3b83cc7c8460566fb6da10f02a"
RPROVIDES:${PN} += "tegra-gbm-backend"
DEPENDS = "mesa libdrm"
RDEPENDS:${PN} = "tegra-libraries-gbm"