blob: 2347b74d60a0229a84503cac966367daef18c1d8 (
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
|
DESCRIPTION = "Sample application for AMD SMBUS driver"
SECTION = "applications"
LICENSE = "BSD | GPLv2"
DEPENDS = "readline"
LIC_FILES_CHKSUM = "file://smbus-test.c;md5=51840771157718d4d562329e476d6917 \
file://i2c-dev.h;md5=11afa8583cd78137a63feb1a8b24cc51 \
"
PR = "r1"
PV = "1.0"
SRC_URI = "file://smbus-test.c \
file://i2c-dev.h \
"
S = "${WORKDIR}"
TARGET_CC_ARCH += "${LDFLAGS}"
do_compile() {
${CC} smbus-test.c -o smbus-test -lreadline
}
do_install() {
install -d ${D}${bindir}
install -m 0755 smbus-test ${D}${bindir}
}
|