blob: c44af1e3ba0f252da8153d13fab8e0b3610433f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
DESCRIPTION = "Set of i2c tools for linux"
SECTION = "base"
LICENSE = "GPL"
PR = "r1"
SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \
file://Module.mk \
"
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
echo "include eepromer/Module.mk" >> Makefile
}
|