[PATCH openbmc v7 07/11] btbridged: Change how kernel-source depend is specified

OpenBMC Patches openbmc-patches at stwcx.xyz
Sat Jun 25 06:00:47 AEST 2016


From: Patrick Williams <patrick at stwcx.xyz>

As of Yocto commit 46cdaf1 we are suppose to use:
   do_configure[depends] += "virtual/kernel:do_shared_workdir"
Instead of:
    DEPENDS += "virtual/kernel"

Without this, the kernel source is not unpacked if you compile with
the sstate cache and so btbridged fails to find the bt-host header.

Signed-off-by: Patrick Williams <patrick at stwcx.xyz>
---
 meta-phosphor/common/recipes-phosphor/host-ipmid/btbridged.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/btbridged.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/btbridged.bb
index a1a32d9..f3a7003 100644
--- a/meta-phosphor/common/recipes-phosphor/host-ipmid/btbridged.bb
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/btbridged.bb
@@ -15,4 +15,4 @@ SRCREV="39b3700766d851009258544aa0f75365f024c597"
 
 # This is how linux-libc-headers says to include custom uapi headers
 EXTRA_OEMAKE_append = "CFLAGS=-I${STAGING_KERNEL_DIR}/include/uapi"
-DEPENDS += "virtual/kernel"
+do_configure[depends] += "virtual/kernel:do_shared_workdir"
-- 
2.9.0




More information about the openbmc mailing list