blob: 24f9b5b82de9797afe67b3e5ce7cf2c5b4c203e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
DESCRIPTION = "Sample application for AMD SMBUS driver"
SECTION = "applications"
LICENSE = "BSD | GPLv2"
DEPENDS = "readline"
LIC_FILES_CHKSUM = "file://smbus-test.c;endline=29;md5=8e7a9706367d146e5073510a6e176dc2"
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}
}
|