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