[PATCH openbmc 1/3] Don't set source dir to git

Adriana Kobylak anoo at us.ibm.com
Thu Oct 29 06:21:56 AEDT 2015


"openbmc" <openbmc-bounces+anoo=us.ibm.com at lists.ozlabs.org> wrote on 
10/28/2015 08:48:13 AM:

> From: OpenBMC Patches <patches at stwcx.xyz>
> To: openbmc at lists.ozlabs.org
> Cc: Bradley W Bishop/Rochester/IBM at IBMUS
> Date: 10/28/2015 09:31 AM
> Subject: [PATCH openbmc 1/3] Don't set source dir to git
> Sent by: "openbmc" <openbmc-bounces+anoo=us.ibm.com at lists.ozlabs.org>
> 
> From: Brad Bishop <bradleyb at us.ibm.com>
> 
> So that patches can apply.
> ---
>  meta-phosphor/common/recipes-phosphor/skeleton/skeleton.bb | 10 
++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)
> 
> diff --git a/meta-phosphor/common/recipes-phosphor/skeleton/
> skeleton.bb b/meta-phosphor/common/recipes-phosphor/skeleton/skeleton.bb
> index d0cf359..0c8687c 100644
> --- a/meta-phosphor/common/recipes-phosphor/skeleton/skeleton.bb
> +++ b/meta-phosphor/common/recipes-phosphor/skeleton/skeleton.bb
> @@ -19,16 +19,18 @@ SRC_URI += "git://github.com/openbmc/skeleton"
> 
>  SRCREV = "47750bc1c06aebda189f2e8d7862c9d9b9ffe35b"
> 
> -S = "${WORKDIR}/git"
> +S = "${WORKDIR}"
> 
>  do_compile() {
> -        oe_runmake all
> +        oe_runmake -C git all
>  }
> 
>  do_install() {
> +        source=${S}/git
> +
>          install -d ${D}/${sbindir} ${D}${libdir}
> -        for i in ${S}/bin/*.py ${S}/bin/*.exe; do
> +        for i in ${source}/bin/*.py ${source}/bin/*.exe; do
>                  install $i ${D}/${sbindir}

There are new executables in the skeleton bin dir, like "obmcutil". Should 
we rename these new executables to have a *.py extension, or move the *.so 
to a new skeleton lib dir and have this recipe pick up all the contents of 
skeleton bin/*?

>          done
> -        install ${S}/bin/libopenbmc_intf.so ${D}/${libdir}
> +        install ${source}/bin/libopenbmc_intf.so ${D}/${libdir}
>  }
> -- 
> 2.6.0
> 
> 
> _______________________________________________
> openbmc mailing list
> openbmc at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20151028/c7efb6be/attachment.html>


More information about the openbmc mailing list