mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 11:32:30 +00:00
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:
committed by
Matt Madison
parent
4f0cadef35
commit
a99117d08b
@@ -31,6 +31,7 @@ PREFERRED_PROVIDER_v4l-utils = "${@'v4l-utils' if 'openembedded-layer' in d.getV
|
||||
PREFERRED_PROVIDER_virtual/bootlogo ?= "bootlogo-prebuilt"
|
||||
PREFERRED_PROVIDER_tensorrt-plugins ?= "tensorrt-plugins-prebuilt"
|
||||
PREFERRED_PROVIDER_tensorrt-trtexec ?= "tensorrt-trtexec-prebuilt"
|
||||
PREFERRED_RPROVIDER_tegra-gbm-backend ?= "tegra-libraries-gbm-backend"
|
||||
|
||||
IMAGE_ROOTFS_ALIGNMENT ?= "4"
|
||||
TEGRA_BLBLOCKSIZE ?= "${@int(d.getVar('IMAGE_ROOTFS_ALIGNMENT')) * 1024}"
|
||||
|
||||
@@ -7,6 +7,8 @@ require tegra-debian-libraries-common.inc
|
||||
|
||||
MAINSUM = "86a9ea9b0674801670d9d78a7ce7db9c3f3db3d8949b0604c84aeb75214fb651"
|
||||
|
||||
RPROVIDES:${PN} += "tegra-gbm-backend"
|
||||
|
||||
TEGRA_LIBRARIES_TO_INSTALL = "\
|
||||
tegra/libnvidia-allocator.so.1 \
|
||||
"
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user