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

OpenBMC Patches patches at stwcx.xyz
Thu Oct 29 00:48:13 AEDT 2015


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}
         done
-        install ${S}/bin/libopenbmc_intf.so ${D}/${libdir}
+        install ${source}/bin/libopenbmc_intf.so ${D}/${libdir}
 }
-- 
2.6.0




More information about the openbmc mailing list