Skip to contentSkip to conversation

Jacob Stiffler : ti-sgx-ddk-um: 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: krogoth
Commit: 0e804eb4d9f6e43de8753e893ea6b841949e0031
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=0e804eb4d9f6e43de8753e893ea6b841949e0031
Author: Jacob Stiffler <[email protected]>
Date:   Mon May  9 23:34:21 2016 +0000

ti-sgx-ddk-um: Add DEPENDS based on REDEPENDS

* The ti-sgx-ddk-um 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 ti-sgx-ddk-um, as the ti-sgx-ddk-um 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/ti-sgx-ddk-um_1.14.3699939.bb          |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb +2 -1
index 217a68c..80612d6 100644
@@ -31,9 +31,10 @@ INITSCRIPT_PARAMS = "defaults 8"
 
 inherit update-rc.d
 
-PR = "r9"
+PR = "r10"
 PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 omap5-sgx-ddk-um-linux"
 
+DEPENDS += "libdrm udev libgbm wayland libffi"
 RDEPENDS_${PN} += "libdrm libudev libgbm wayland libffi libdrm-omap"
 
 RPROVIDES_${PN} = "libegl libgles1 libgles2 omap5-sgx-ddk-um-linux"