Skip to contentSkip to conversation

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

PATCH New Jacob Stiffler 1 participant 1 message May 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
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"
Signature · 1 line
2.7.4