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

Joel Stanley joel at jms.id.au
Fri Jun 24 12:51:48 AEST 2016


On Fri, Jun 24, 2016 at 6:10 AM, OpenBMC Patches
<openbmc-patches at stwcx.xyz> wrote:
> 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>

Acked-by: Joel Stanley <joel at jms.id.au>

> ---
>  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
>
>
> _______________________________________________
> openbmc mailing list
> openbmc at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc


More information about the openbmc mailing list