[meta-intel] [PATCH meta-intel-iot-middleware] Fix the i2c-tools build error

Yong Li sdliyong at gmail.com
Thu Mar 19 19:22:41 PDT 2015


Signed-off-by: Yong Li
 <sdliyong at gmail.com>

---
 recipes-support/i2c-tools/i2c-tools_3.0.3.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes-support/i2c-tools/i2c-tools_3.0.3.bb
b/recipes-support/i2c-tools/i2c-tools_3.0.3.bb
index 021090c..bf8e272 100644
--- a/recipes-support/i2c-tools/i2c-tools_3.0.3.bb
+++ b/recipes-support/i2c-tools/i2c-tools_3.0.3.bb
@@ -9,12 +9,12 @@ SRC_URI = "
http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \
 SRC_URI[md5sum] = "511376eed04455cdb277ef19c5f73bb4"
 SRC_URI[sha256sum] =
"23b28e474741834e3f1b35b0686528769a13adc92d2ff5603cbda1d6bd5e5629"

-inherit autotools
+inherit autotools-brokensep

 do_compile_prepend() {
         cp ${WORKDIR}/Module.mk ${S}/eepromer/
-        sed -i 's#/usr/local#/usr#' Makefile
-        echo "include eepromer/Module.mk" >> Makefile
+        sed -i 's#/usr/local#/usr#' ${S}/Makefile
+        echo "include eepromer/Module.mk" >> ${S}/Makefile
 }

 do_install_append() {
--
1.9.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-intel/attachments/20150320/f8c3a4c0/attachment.html>


More information about the meta-intel mailing list