summaryrefslogtreecommitdiff
path: root/recipes/i2c-tools
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/i2c-tools')
-rw-r--r--recipes/i2c-tools/i2c-tools_3.0.1.bb4
-rw-r--r--recipes/i2c-tools/i2c-tools_3.0.2.bb4
2 files changed, 4 insertions, 4 deletions
diff --git a/recipes/i2c-tools/i2c-tools_3.0.1.bb b/recipes/i2c-tools/i2c-tools_3.0.1.bb
index 69fa3edfe2..69e0f5302b 100644
--- a/recipes/i2c-tools/i2c-tools_3.0.1.bb
+++ b/recipes/i2c-tools/i2c-tools_3.0.1.bb
@@ -7,8 +7,8 @@ SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2"
inherit autotools
do_compile_prepend() {
- sed -i 's_/usr/local_/usr_' Makefile
- sed -i 's_CC\t:= gcc_CC\t:= ${CC}_' Makefile
+ sed -i 's#/usr/local#/usr#' Makefile
+ sed -i 's#CC\t:= gcc#CC\t:= ${CC}#' Makefile
}
SRC_URI[md5sum] = "0f5c7ce5fd3c65113909db0ef3a3a8c8"
diff --git a/recipes/i2c-tools/i2c-tools_3.0.2.bb b/recipes/i2c-tools/i2c-tools_3.0.2.bb
index bf792fb976..61d119791f 100644
--- a/recipes/i2c-tools/i2c-tools_3.0.2.bb
+++ b/recipes/i2c-tools/i2c-tools_3.0.2.bb
@@ -12,8 +12,8 @@ inherit autotools
do_compile_prepend() {
cp ${WORKDIR}/Module.mk ${S}/eepromer/
- sed -i 's_/usr/local_/usr_' Makefile
- sed -i 's_CC\t:= gcc_CC\t:= ${CC}_' Makefile
+ sed -i 's#/usr/local#/usr#' Makefile
+ sed -i 's#CC\t:= gcc#CC\t:= ${CC}#' Makefile
echo "include eepromer/Module.mk" >> Makefile
}