i2c-tools: Fix build when S != B

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Khem Raj
2014-04-26 13:34:42 -07:00
committed by Martin Jansa
parent 5aba63b6aa
commit 9df13b4140
@@ -11,12 +11,12 @@ SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/i2c-tools/i2c-tools-3.1.0.tar
SRC_URI[md5sum] = "f15019e559e378c6e9d5d6299a00df21"
SRC_URI[sha256sum] = "960023f61de292c6dd757fcedec4bffa7dd036e8594e24b26a706094ca4c142a"
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() {