blob: 6743e3fff82f44ffdcd0936efcb93f7a521037e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
DESCRIPTION = "i2c tools"
SECTION = "base"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
SRCREV = "6235"
SRC_URI = "svn://lm-sensors.org/svn/i2c-tools/branches/;protocol=http;module=i2c-tools-3.1 \
"
S = "${WORKDIR}/i2c-tools-3.1"
i2ctools = "i2cdetect \
i2cdump \
i2cget \
i2cset \
"
eepromtools = "eepromer \
eeprom \
eeprog \
"
do_compile() {
make -C eepromer
make
}
do_install() {
mkdir -p ${D}/${bindir}
for f in ${i2ctools}; do
install -m 755 tools/$f ${D}/${bindir}/$f
done
for f in ${eepromtools}; do
install -m 755 eepromer/$f ${D}/${bindir}/$f
done
}
FILES_${PN} = "${bindir}"
|