Skip to contentSkip to conversation

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

PATCH In review Jacob Stiffler 2 participants 3 messages May 9, 2016

lore
Share & tools
lore
#0 lore raw

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

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

Looks fine. What about master?

Quoted 38 lines · Jacob Stiffler

* 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

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

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#2 lore raw
Quoted 10 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Monday, May 09, 2016 12:59 PM
To: Stiffler, Jacob
Cc: [email protected]
Subject: Re: [meta-ti] [fido][PATCH] omap5-sgx-ddk-um-linux: Add DEPENDS based on REDEPENDS

Quoted 2 lines

Looks fine. What about master?

I am checking the patch right now.

Quoted 42 lines · Jacob Stiffler
Quoted 9 lines

* 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

Review

Quoted 6 lines
---
 recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.14.3699939.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
(quoted diff) +0 -0

linux_1.14.3699939.bb b/recipes-graphics/libgles/omap5-sgx-ddk-um- linux_1.14.3699939.bb

Quoted 23 lines

index a79c61f..a4a00b9 100644

recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.14.3699939.bb +2 -2
@@ -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"
--

2.7.4

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti