From d4b56f63c6de7dbe558673d3c5ab555e50dc7cf5 Mon Sep 17 00:00:00 2001 From: "Andrew F. Davis" Date: Thu, 5 Sep 2019 22:38:44 +0000 Subject: [PATCH] ti-sgx-ddk-um: Add expat as runtime dependency Although not needed for the IMG default EGL implementation libexpat is needed when using the Mesa EGL version. While here s/libudev/udev as 'libudev' is package shipped as part of the eudev project, but we use systemd, so we actually depend on 'udev'. Move the PACKAGE_ARCH and PR defines to a more natural spot that also lines up with the RGX version of recipe for easier diffs. One thing we could have done is remove the DEPENDS line. We do not have any build dependencies as these are pre-made library binaries, but I use the package rootfs generated by bitbake to build the binaries locally, so leave it for now. Signed-off-by: Andrew F. Davis Signed-off-by: Denys Dmytriyenko --- recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb b/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb index 80570ef0..0a62cc35 100644 --- a/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb +++ b/recipes-graphics/libgles/ti-sgx-ddk-um_1.17.4948957.bb @@ -3,9 +3,10 @@ HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-um-linux" LICENSE = "TI-TSPA" LIC_FILES_CHKSUM = "file://TI-Linux-Graphics-DDK-UM-Manifest.doc;md5=b17390502bc89535c86cfbbae961a2a8" +PACKAGE_ARCH = "${MACHINE_ARCH}" COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3" -PACKAGE_ARCH = "${MACHINE_ARCH}" +PR = "r34" BRANCH = "ti-img-sgx/thud/${PV}" @@ -22,11 +23,10 @@ INITSCRIPT_PARAMS = "defaults 8" inherit update-rc.d -PR = "r34" PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgbm omap5-sgx-ddk-um-linux" -DEPENDS += "libdrm udev wayland libffi" -RDEPENDS_${PN} += "libdrm libudev wayland libffi libdrm-omap" +DEPENDS += "libdrm udev wayland libffi expat" +RDEPENDS_${PN} += "libdrm libdrm-omap udev wayland libffi expat" RPROVIDES_${PN} = "libegl libgles1 libgles2 libgbm omap5-sgx-ddk-um-linux" RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev omap5-sgx-ddk-um-linux-dev"