Skip to contentSkip to conversation

Jacob Stiffler : omap5-sgx-ddk-um-linux: Add DEPENDS based on REDEPENDS

PATCH Arago Project git 1 participant 1 message May 12, 2016

lore
Share & tools
lore
#0 lore raw
Module: meta-ti
Branch: fido
Commit: 85810547e3411fb2516600ccfa0c3419b6368742
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=85810547e3411fb2516600ccfa0c3419b6368742
Author: Jacob Stiffler <[email protected]>
Date:   Mon May  9 22:33:50 2016 +0000

omap5-sgx-ddk-um-linux: Add DEPENDS based on REDEPENDS

* The omap5-sgx-ddk-um-linux recipe installs pre-built libraries
* Because of this, the dependencies are given as RDEPENDS as they are not needed for building the recipe
* However, this may break recipes which depend on omap5-sgx-ddk-um-linux, as the omap5-sgx-ddk-um-linux dependencies may not yet be populated in the sysroot.
* This resolves the break in the dependency chain by translating the RDEPENDS into a list of DEPENDS

---

 .../libgles/omap5-sgx-ddk-um-linux_1.14.3699939.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.14.3699939.bb +2 -1
index a79c61f..a4a00b9 100644
@@ -19,9 +19,10 @@ INITSCRIPT_PARAMS = "defaults 8"
 
 inherit update-rc.d
 
-PR = "r8"
+PR = "r9"
 PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2"
 
+DEPENDS += "libdrm udev libgbm wayland libffi"
 RDEPENDS_${PN} += "libdrm libudev libgbm wayland libffi libdrm-omap"
 
 RREPLACES_${PN} = "libegl libgles1 libgles2"